Skip to main content
Glama

Bazaar declaration check

wever_bazaar-declaration-check
Read-only

Agent records round 2: check a CDP Bazaar discovery declaration before you publish it. Input declaration: the 402 body with accepts and extensions.bazaar, a route declaration with amount, resource and bazaar (the shape Wever routes declare) or the bazaar extension alone, as JSON, JSON text or the base64 PAYMENT-REQUIRED header, up to 64 KB. The signed report says whether the declaration would pass the validation CDP applies and names every problem: the discovery envelope, info validated against its own schema, schema patterns that are not valid regular expressions or that use lookahead (the (?![\s\S]) strict-end suffix, with the accepted fix: a plain $ anchor with the line terminators excluded beside it), price, asset and network consistency across the payment terms, and input and output schema completeness. It evaluates the supplied declaration only and fetches nothing. POST /api/bazaar-declaration-check. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-records-contract. Human page: https://weverlabs.com/reliability/.

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name, recorded in the report.
declarationYesThe CDP Bazaar discovery declaration: the 402 response body with accepts and extensions.bazaar, a route declaration with amount, resource and bazaar (the shape Wever routes declare), or the bazaar extension alone (info and schema). As JSON, JSON text or the base64 PAYMENT-REQUIRED header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds substantial context beyond them: 0.10 USDC per call on Base via x402 exact, 10 free signed-wallet calls per rolling 30 days, the 64 KB input ceiling, the requirement to bind X-Wever-Wallet-Proof to the exact JSON arguments plus tool route, and an Ed25519 signed receipt on the report. None of this is derivable from the annotations, and it does not contradict idempotentHint=false since each call is separately billed.

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?

The purpose and input shape are front-loaded in the first two sentences, and the operational details (billing, wallet proof, contract link) trail correctly. It is dense but largely earns its length, with the main redundancy being the re-listing of declaration formats already present in the schema.

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 paid, read-only validator with no output schema, the description supplies everything an agent needs: what is validated, that only the supplied declaration is examined, the payment and authentication mechanics, the return type (signed report with Ed25519 receipt), and links to the contract and human page.

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% and the 'declaration' property description already enumerates the accepted shapes (402 body, route declaration, bazaar extension alone) and encodings (JSON, JSON text, base64 PAYMENT-REQUIRED header). The description largely repeats that enumeration, adding only the 64 KB limit and the fact that the checks are against CDP's own validation. With the schema carrying this load, baseline 3 applies.

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?

The description opens with a specific verb and resource: 'check a CDP Bazaar discovery declaration before you publish it.' It names the exact artefact being validated and the validation standard (the checks CDP applies), which lets an agent distinguish this from the many other '-check' siblings without opening the schema.

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?

It states the trigger condition clearly ('before you publish it') and bounds scope with 'It evaluates the supplied declaration only and fetches nothing,' which implicitly separates it from tools that retrieve live endpoint data. It does not name a specific sibling alternative or state when not to use it, so it falls short of 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.