Skip to main content
Glama

Aithon

cart.draft.create

Create a cart draft for a scoped, agent-orderable service. Requires caller-managed session_id.

Input Schema

NameRequiredDescriptionDefault
quantityNoQuantity, clamped to 1-100 (default 1)
service_idYesService ID from catalog.search
session_idYesCaller-generated session id (8+ characters); reuse it to add more items to the same cart
variant_keyNoVariant key from the order schema; defaults to the schema default
service_configurationNoValues for the order schema pre-checkout fields

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It never states that this is a mutating/persisting operation, whether drafts expire, what happens if the same session_id is reused, or what authorization the 'scoped' qualifier implies; the session_id note merely restates the schema.

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?

Two short sentences with the core action first and the prerequisite second; nothing is redundant. The phrase 'for a scoped, agent-orderable service' is somewhat vague filler that could be replaced with concrete information.

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

Completeness2/5

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

For a five-parameter creation tool with a nested object, no annotations, and no output schema, the description should explain draft lifecycle, relation to order.draft/checkout, and what a successful call yields. Neither the meaning of 'cart draft' nor the next step in the flow is covered.

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 100%, so the parameters are already well documented, including quantity clamping, variant_key defaults, and service_configuration's nested fields. The description adds essentially nothing beyond the schema except the phrase 'caller-managed', which the schema already conveys.

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 states a specific verb and resource (create a cart draft) and adds that the target is a scoped, agent-orderable service. It does not distinguish this from sibling tools like order.draft or quote.request, so an agent cannot tell from the text alone which draft mechanism to pick.

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?

It gives one prerequisite (caller-managed session_id), which is useful, but offers no when-to-use guidance against order.draft, quote.request, or availability.check, and no when-not-to-use conditions. Usage is only implied by the 'cart draft' framing.

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