Skip to main content
Glama

AgentMart Hub - the open marketplace for AI agents

create_checkout

One cart across stores. Shipped items need buyer.email and buyer.shipping_address.

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": {
      "line_items": "<line_items>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
buyerNo
line_itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses a useful behavioral trait—one cart spanning stores—and a conditional requirement that shipped items need buyer.email and buyer.shipping_address, but it omits side effects, idempotency, authentication, and response behavior for a mutating checkout-creation tool.

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 sentences with no filler, and the multi-store constraint is front-loaded. The brevity is efficient, though it contributes to under-specification rather than full clarity.

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 tool with nested parameters, zero schema descriptions, no annotations, and no output schema, the description is too thin. It covers one conditional buyer requirement but leaves the required line_items and overall checkout-creation behavior unexplained.

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 0%, and the schema leaves buyer as an unconstrained object. The description adds concrete buyer subfields and a shipping condition beyond the schema, but it does not explain line_items, product_id, or quantity, so compensation is only partial.

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

Purpose3/5

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

The description says 'One cart across stores,' which conveys a multi-store cart capability but never states a verb like 'creates a checkout' or clearly defines the operation. It is distinguishable from siblings such as complete_checkout mainly through the tool name, not the description itself.

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

Usage Guidelines2/5

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

No when-to-use guidance or alternatives are named; the only conditional sentence addresses buyer fields for shipped items. An agent must infer from sibling names that this starts a checkout rather than completing or checking status.

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