Skip to main content
Glama

get_candidates_image

Read-onlyIdempotent

Renders up to 40 candidates of one sheet in a single image as numbered, colour-coded outlines to verify a floor-model or detection batch in one call before zooming in.

Instructions

Up to 40 candidates of ONE sheet in one picture: each outline in its own colour with a number at its centre. The result's labels map each number to its candidate_id; crop gives the picture's extent in page fractions (sheet x = x0 + image_x_fraction * (x1 - x0), same for y) for a floor_model_click or trace_room point. Use it to check a floor-model or detection batch in one call, then get_candidate_image only where a boundary needs a closer look.

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>",
      "candidate_ids": "<candidate_ids>"
    },
    "name": "get_candidates_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
pxNolongest side in pixels (default 1400)
project_idYesThe project to work on (list_projects names them).
candidate_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, and the description adds the scoping constraint that all candidates must come from ONE sheet plus the 40-candidate cap. It also explains the return payload's structure (labels map numbers to candidate_id, crop gives page-fraction extent with a conversion formula). It does not say what happens if candidate_ids span multiple sheets or how failures are reported, which keeps it below 5.

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

Conciseness4/5

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

The description is front-loaded with the output format, then the coordinate mapping, then the usage routing, with no filler sentences. The crop formula is dense but necessary, though it reads as a single run-on clause that could be slightly tighter.

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

Completeness5/5

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

With no output schema, the description carries the burden of explaining return values and does so: labels map numbers to candidate_id and crop gives the picture extent in page fractions with the exact conversion formula. Combined with the one-sheet constraint and batch size, an agent has everything needed to invoke it correctly.

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

Parameters4/5

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

Schema coverage is 67% and the schema itself documents px (default 1400) and project_id; the description adds the crucial semantic that candidate_ids must all belong to one sheet and caps the batch at 40, which the schema's maxItems only implies numerically. The px parameter is not discussed in the description, but the schema covers it adequately.

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

Purpose5/5

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

The description states exactly what the tool produces: a single picture containing up to 40 candidate outlines from ONE sheet, each colour-coded with a numbered centre. It explicitly distinguishes itself from get_candidate_image ('then get_candidate_image only where a boundary needs a closer look'), so an agent can pick it without opening either schema.

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

Usage Guidelines5/5

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

It names the intended use case (checking a floor-model or detection batch in one call) and the condition that should divert the agent to the sibling (a boundary needing a closer look). It also states the downstream use of the crop values for floor_model_click or trace_room points.

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