Skip to main content
Glama

BIG State Deviation Check — $0.001

prepare_state_deviation_purchase
Read-only

Browse the $0.001 primitive catalog. Create a purchase intent and pay only when /market.primitive_entry.paid_execution_enabled is true; otherwise paid execution is unavailable. Prepare a machine-payable x402 request that checks whether an observed state materially differs from an expected state. The paid result is binary 0/1; undecidable inputs abstain before billing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
EXPECTED_STATEYes
OBSERVED_STATEYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYes
endpointYes
price_usdYes
request_bodyYes
payment_protocolYes
required_headersYes
purchase_intent_methodYes
purchase_intent_endpointYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, it discloses genuinely useful behavior: the paid result is binary 0/1, undecidable inputs abstain before billing (i.e., no charge on abstention), and payment is gated on a market flag. That billing/abstention detail is exactly the kind of trait annotations cannot express. It does not cover latency, retries, or what 'prepare' returns as a machine-payable artifact, hence not a 5.

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

Conciseness3/5

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

Four sentences, and the first ('Browse the $0.001 primitive catalog') is marketing filler that does not help an agent invoke the tool. The actual purpose arrives in sentence three, so the description is not front-loaded. The remaining sentences are dense and earn their place.

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?

An output schema exists, so return-shape explanation is not required, and the description still adds the salient output fact (binary 0/1 with abstention). Payment gating, abstention-before-billing, and the core comparison are all covered. Only the parameter format conventions remain missing for a 5.

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 0%, so the two required parameters EXPECTED_STATE and OBSERVED_STATE are entirely undocumented in the schema. The description maps them conceptually ('observed state materially differs from an expected state'), which is the only semantic signal available, but it never specifies accepted formats (raw text, JSON, structured state) or how 'materially' is judged. Partial compensation only.

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?

The third sentence gives a concrete verb+resource: 'Prepare a machine-payable x402 request that checks whether an observed state materially differs from an expected state.' That is enough to distinguish it from the similarly named sibling prepare_interpretation_delta_purchase by concept, though the description never explicitly contrasts them. The opening catalog/billing sentences dilute but do not obscure the core purpose.

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?

It states a real precondition for charging ('pay only when /market.primitive_entry.paid_execution_enabled is true; otherwise paid execution is unavailable'), which is useful operational context. However, it gives no guidance on when to choose this tool over prepare_interpretation_delta_purchase or what input qualifies as a deviation check. Usage is implied rather than instructed.

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