Skip to main content
Glama

list_candidates

Read-onlyIdempotent

List candidate IDs from a detection/tracing analysis in bounded pages; follow next_offset while has_more to identify existing proposals and count evidence placements.

Instructions

Read a complete analysis's candidate IDs in bounded pages. Use analysis_id from detection/tracing, follow next_offset while has_more; submitted candidates identify existing proposals. Count evidence.placement distinguishes seed/matched instances; withheld questions have no candidate IDs. Source labels are engine readings, not schedule verification. A page is not complete scope.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "analysis_id": "<analysis_id>"
    },
    "name": "list_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
project_idYesThe project to work on (list_projects names them).
analysis_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered; the description adds real behavioral context beyond that, notably the pagination contract (next_offset / has_more) and the edge case that withheld questions return no candidate IDs. With no output schema present, these return-shape disclosures carry extra weight. It stops short of 5 because 'Source labels are engine readings, not schedule verification' and 'Count evidence.placement' are too compressed to be actionable without prior domain knowledge.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the core action, which is good. But several clauses are telegraphic to the point of being ambiguous — 'Count evidence.placement distinguishes seed/matched instances' reads as a fragment missing a verb, costing the reader more than the words save.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paginated read tool with no output schema, the description covers the essential mechanics: paging loop, absent-candidate cases, and the warning that a single page is not full scope. The remaining gap is that a candidate record's own fields are only hinted at through unexplained terms, so an agent still cannot fully anticipate what each entry contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% — only project_id is documented — so the description has to compensate, and it partially does by explaining where analysis_id comes from and implying offset/limit semantics through the next_offset/has_more paging loop. It never says what limit (max 20) or offset actually control, leaving two of four parameters unexplained in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: reading an analysis's candidate IDs, in bounded pages. That is far more precise than a name restatement, though the phrasing is dense with domain jargon ('submitted candidates', 'seed/matched instances') and it never explicitly distinguishes itself from the sibling get_candidates_image.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete operating instructions: take analysis_id from detection/tracing and iterate by following next_offset while has_more is true. It also sets a scope caveat ('A page is not complete scope'), which tells the agent not to treat one response as exhaustive. What it lacks is any statement of when to prefer a different tool over this one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools