Skip to main content
Glama

prepare_checkout

Optional independent consent workflow: prepare the same saved letter and quote without payment. Default handoff_url opens the existing website studio to finish there; review_url is the separate agent-consent route. Reuse the same key on retries.

Input Schema

NameRequiredDescriptionDefault
versionYes
draft_idYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish this is a non-destructive write that is not open-world. The description adds genuinely new behavioral detail beyond the annotations: two distinct output routes (handoff_url going to the website studio vs. review_url being the separate agent-consent route), and the retry/idempotency-key guidance. It does not fully describe the response shape, but the route distinction is useful behavioral context.

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?

Three dense sentences with the core purpose front-loaded and the routing/idempotency notes following. It is efficient for the amount of routing nuance it conveys, though the opening clause is slightly abstract before the concrete "saved letter and quote without payment" clarification lands.

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

Completeness3/5

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

For a mutation tool with no output schema, the description usefully explains the two returned URLs and retry behavior. However, it leaves the meaning of draft_id and version unexplained and does not state what exactly gets created or persisted, which is a meaningful gap for a non-readOnly operation. Adequate but with clear omissions.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for all three required parameters, but it only addresses idempotency_key ("reuse the same key on retries"). draft_id and version are left with only their type/constraint metadata and no semantic explanation. This is a clear gap for a tool the agent must call with three required args.

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 action ("prepare") on a specific resource (a saved letter and quote) and explicitly distinguishes it from the paid path by saying "without payment." The phrase "independent consent workflow" is somewhat jargon-heavy but the core operation is clear. It maps well against the sibling 'checkout' by contrasting payment vs. no payment.

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

Usage Guidelines3/5

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

"Optional independent consent workflow" implies this is a non-default path, but it never states the condition under which an agent should choose it over 'checkout', 'quote', or 'quote_for_send'. The comparison to default checkout is implicit rather than spelled out. The agent must infer when to use this versus the primary paid flow.

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