Skip to main content
Glama

Pick a design candidate

design_pick_candidate
Destructive

Pick one of the candidates from design_generate_candidates.

Pass the design_id the USER chose. It binds that design as the active one; until payment the customer can still pick another candidate from the same batch. The next design_chat continues refining it. Returns the picked design's design_url + thumbnails — share them verbatim. With thumbnails_pending: true the preview is still rendering and may not become available: say so, give the design_url so the user can see the design in the editor, and call design_status for the preview later. Do not say that the preview will appear.

The picked design is ALREADY resolved (design_resolved: true). Do NOT attach it yourself: the payment link attaches the design of each line. A design made on a product family's standard size goes onto a cart line when you pass its design_id to catalog_configure_product. The pick fails with DesignAttachedError when the candidates' line holds an attached design and the order is paid, and with UploadMappingSubmittedError when that line's uploaded file has a submitted page mapping. Do not call order_create_payment_link unless the customer asked to pay: the payment link is the order. If they did not ask, show the customer the design and ask whether they want changes; call design_chat if they do.

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": {
      "session_id": "<session_id>",
      "design_id": "<design_id>"
    },
    "name": "design_pick_candidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
design_idYes
session_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Far exceeds the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=false) by disclosing binding semantics (design becomes active, still swappable until payment), the exact failure modes (DesignAttachedError on a paid line with an attached design, UploadMappingSubmittedError on a submitted page mapping), and the thumbnails_pending partial-result behavior including what not to promise the user.

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?

Front-loads the action and then layers operational detail in short paragraphs; nearly every sentence is an actionable constraint. It is dense and reads like a policy memo, but no sentence is filler and the ordering moves from action to side effects to error cases.

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?

Even though an output schema exists, the description still tells the agent how to handle the returned design_url/thumbnails and the thumbnails_pending case, and it covers the state machine, error paths, and follow-up calls an agent needs to complete the workflow 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?

With 0% schema coverage, the description must carry parameter meaning; it does well for design_id (must be the candidate the USER chose, comes from the candidate batch, and its resolution/attachment semantics), but session_id is never mentioned or characterized, leaving one of two required parameters undocumented.

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?

States a specific verb plus resource ('Pick one of the candidates from design_generate_candidates') and names the producing sibling, so the agent knows exactly which object is being acted on and where the valid design_id values come from.

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?

Explicit routing: use after design_generate_candidates, call design_chat if the customer wants changes, pass the design_id to catalog_configure_product to place it on a cart line, and only call order_create_payment_link if the customer asked to pay. Includes a clear when-not and names the correct alternative for each branch.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources