Skip to main content
Glama

AgentShopping Intent Catalog

build_request

Turn an intent into a fillable, dispatchable quote request. Supply the buyer's context and get back a filled request plus ready-to-send text. Pure computation: this site never transmits the request and never asserts prices or vendors.

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": {
      "id": "<id>"
    },
    "name": "build_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIntent id, e.g. book-flight or buy-vps
contextNoBuyer-supplied values for required_fields / optional_fields. Unknown keys are ignored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the most important behavioral facts: it is pure computation, never transmits the request, and never asserts prices or vendors. That is meaningful side-effect and liability disclosure an agent could not get from the schema. It stops short of describing error behavior for an unrecognized intent id or what happens when required_fields are missing from context.

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 sentences, both front-loaded: the first defines the transformation, the second defines the input/output contract and the non-transmission guarantee. No filler, no restatement of the tool name, and the behavioral caveat lands at the end where it is most likely to be read before calling.

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

Completeness4/5

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

For a two-parameter tool with a nested free-form object and no output schema, the description does the necessary compensating work by naming the return payload (filled request plus ready-to-send text). It is missing only edge-case behavior, such as unknown intent ids or partially satisfied required_fields, which matters given that 'context' is an unconstrained additionalProperties object.

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%, with both 'id' and 'context' documented in-schema including the unknown-keys-are-ignored note. The description adds only the framing that context is the buyer's side of the exchange and that the id denotes an intent. That is a small semantic addition over an already-complete schema, so baseline 3 applies.

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 (turn/build) and a specific resource (a fillable, dispatchable quote request) plus the input it consumes, an intent. That is enough to separate it from the read-oriented siblings (get_intent, list_intents, search_intents) without needing them named. The adjective pair 'fillable, dispatchable' is somewhat jargon-heavy but still conveys the intent-to-request transformation.

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 sentence 'Supply the buyer's context and get back a filled request' implies when to call it (when an intent id plus buyer values are in hand), but there is no explicit when-not guidance, no mention of prerequisites such as first resolving an intent via get_intent, and no named alternatives. Usage is inferable rather than stated.

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.