Managed annotation and error analysis
Verified against the available MCP schemas and official documentation on 2026-09-30. No hosted writes or paid evaluations were executed during integration. Other client wrappers may spell fields differently; the connected tool declaration wins.
- Reuse the selected project, or call
list_projectsand match the user's project. Every other call takesproject_idplus arequestobject. - Call
list_traceswithrequest: {pageSize: 25, environment: "production"}and optionalstart,end,cursor. Inspect candidates withget_trace. Include ordinary traffic as well as difficult cases; discovery counts are not prevalence estimates. - Create an authorized queue with
create_annotation_queue,request: {name: "Error review", type: "TRACE"}. UseTHREADfor conversations; optionalformIdattaches an existing form. - Populate it with
add_items_to_annotation_queue,request: {queue_id: "<returned-id>", traceUuids: ["<existing-trace-uuid>"]}; for threads usethreadIdsinstead. Queue duplicates are skipped. - Give the user the returned platform link when available, otherwise direct them to the queue in their selected project. Humans annotate and explain failures there. Do not create agent-generated feedback as if it came from a human.
- Track review progress with
list_annotation_queue_items,request: {queue_id: "<id>", status: "COMPLETED", limit: 50, offset: 0}. Read notes withlist_annotations, filtering bytraceUuidorthreadIdand paging withpage/pageSize. - Have the user open Error Analysis in that queue and review the platform's proposed failure modes and recommended metrics. There is no error-analysis result operation in the inspected MCP inventory. Reuse a supported export if exposed; otherwise ask for the reviewed category list, or draft from exported explanations and obtain human confirmation. Do not claim the agent triggered or retrieved a hosted analysis without evidence.
- Preserve definitions, counts, source IDs, reviewer decisions, and open questions locally for the next stage. Taxonomy confirmation does not replace grader calibration.
REST fallback for queue creation is POST /v2/annotation-queues with name, type, and optional formId. Adding trace references uses POST /v2/annotation-queues/{annotationQueueId}/items with traceUuids. Use a project-scoped key in the CONFIDENT_API_KEY header; never put it in saved artifacts.
Sources: MCP operations, create queue, add items, and platform error analysis.