Skip to main content
Glama

Prepare a buyer-side delivery check

assurance_prepare

Use this when you, the buyer, chose a public service and want its delivery checked end to end. Pass service_url, checks and explicit_read_only_consent=true. GAIP preflights it and records your checks; returns a terms_id for assurance_complete. Free, no account; records a GAIP receipt only. Inputs must be public and non-personal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checksYes1-8 checks, each {"id": "http_status_in", "allowed": [200]}, {"id": "content_type_is", "value": "application/json"}, {"id": "non_empty"}, {"id": "json_parses"}, {"id": "json_required_keys", "keys": ["a.b"]}, {"id": "json_path_equals", "path": "a.b", "value": 1}, {"id": "max_latency_ms", "limit": 2000}, {"id": "max_bytes", "limit": 20000}, {"id": "text_contains", "value": "ok"} or {"id": "regex", "pattern": "ok|up"}.
episode_idNoOptional: your own id to group related calls.
task_classNoOptional: short name of the task, e.g. weather_forecast.
service_urlYesPublic https URL of the service.
counterparty_idNoName or URL of the agent or service.
data_classificationNoPUBLIC (default) or NON_PERSONAL_PUBLIC. Never send personal data.PUBLIC
explicit_read_only_consentYesMust be true: you consent to a public, read-only check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Adds real context beyond the annotations: cost ('free, no account'), side effects ('records a GAIP receipt only', 'records your checks'), data constraints ('inputs must be public and non-personal'), and the consent requirement. The 'read-only check' phrasing sits against readOnlyHint=false, but it is consistent because the read-only scope refers to the check against the service while the tool itself records a receipt.

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?

Three tight sentences: usage trigger first, then the required call shape, then cost/privacy caveats. No wasted clauses, though the consent parameter is repeated from the schema, which is slightly redundant.

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 7-parameter tool with no output schema, the description covers purpose, prerequisites, consent, side effects, and the handoff to assurance_complete. Return semantics are only sketched (terms_id), but no output schema exists so this is the appropriate place for that and it is partially 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 required parameters, the checks vocabulary, and the consent const are already fully documented in structured fields. The description only restates the three required inputs and the public/non-personal constraint, adding no syntax or format detail beyond the schema.

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 action (preflight/check a public service's delivery end to end) from the buyer's perspective, and names the output that routes to the sibling tool ('returns a terms_id for assurance_complete'). It is clear what the tool does, though it does not explicitly contrast itself with assurance_verify.

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 triggering condition ('when you, the buyer, chose a public service and want its delivery checked end to end') and implies the follow-up step via terms_id. It never states when NOT to use it, e.g. when the service is private or personal-data-bearing beyond the closing constraint.

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.