Skip to main content
Glama

AgentMart Hub - the open marketplace for AI agents

book_delivery

Book a quoted delivery and pay with a Stripe Shared Payment Token. Returns live tracking.

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": {
      "quote_id": "<quote_id>",
      "email": "<email>",
      "shared_payment_token": "<shared_payment_token>"
    },
    "name": "book_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYes
languageNooptional BCP-47 language for the customer's emails
quote_idYes
descriptionNo
callback_urlNooptional: receive signed status events
pickup_contactNo
dropoff_contactNo
shared_payment_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the two most important behaviors: this mutates state by charging money via a payment token, and it returns live tracking. It does not cover failure/retry semantics, idempotency, when funds are captured, or what the optional callback_url triggers, which are material for a payment-bearing mutation.

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

Conciseness5/5

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

Two short sentences with zero filler, front-loading the action and payment method and closing with the return value. Nothing could be cut without losing 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 an 8-parameter mutation with nested contact objects, no annotations, and no output schema, the definition is too thin. The 'returns live tracking' line partly covers the missing output schema, but the structure of contact objects and the purpose of callback_url, language, and description fields remain unaddressed.

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 only 25%, so the description needs to compensate and largely does not. It implies quote_id and shared_payment_token semantics, but email, description, callback_url, and especially the nested pickup_contact and dropoff_contact objects are undocumented in both the schema and the description.

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?

States a specific verb and resource ('Book a quoted delivery') plus the payment mechanism ('Stripe Shared Payment Token') and the outcome ('Returns live tracking'). It does not name or differentiate from siblings like quote_delivery or complete_checkout, which is the main gap keeping it from a 5.

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?

The phrase 'quoted delivery' implies a prior quote step and the required quote_id parameter reinforces that, giving implied workflow guidance. However, there is no explicit statement of when to use this versus quote_delivery (obtain a quote) or complete_checkout, and no prerequisites or exclusion conditions are given.

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