Skip to main content
Glama

Go Brewing

Make a checkout link

get_cart_link
Read-onlyIdempotent

Build a gobrewing.com link that opens checkout with these items for the person to review and pay. Places no order. Get variant_id values from get_beer.

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": {
      "items": "<items>"
    },
    "name": "get_cart_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesProducts to put in the cart.

Output Schema

NameRequiredDescriptionDefault
urlYes
noteNo
itemsYes
subtotal_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value by confirming 'Places no order' and describing the human review/payment step, but says nothing about link lifetime, reuse, or whether the cart persists — useful details for an agent that generates links.

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?

Three short sentences, front-loaded with the action, then the key non-effect, then the dependency. No filler and nothing an agent must scroll past.

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?

For a single-parameter tool with full schema coverage, annotations, and an output schema, the description covers purpose, side-effect absence, and input provenance. Nothing needed to call it correctly is missing.

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 coverage is 100% and the nested items schema already documents variant_id's source (get_beer) and quantity range (1–24). The description repeats the variant_id provenance but adds no new meaning such as ordering rules or item limits beyond what the schema states.

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 concrete verb and resource ('Build a gobrewing.com link that opens checkout') plus the exact scope ('Places no order'), which distinguishes it from any order-placing tool at a glance. It also names the upstream tool that supplies the required ID.

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

Usage Guidelines4/5

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

Gives a clear when-to-use context ('for the person to review and pay') and the prerequisite that variant_id values come from get_beer. It stops short of naming a when-not or an explicit alternative tool to use instead, which keeps it below a 5.

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