Skip to main content
Glama

Subsidy-Exposure & Quota-Cliff Watch

precommit_query

Pre-commit verdict OPEN / AT_RISK / CLIFFED ($0.01/call x402; first query per operator free). Send the payment in the X-PAYMENT header when the first call returns a 402 challenge in the REST surface.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pool_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden, and it does disclose meaningful non-obvious traits: per-call cost ($0.01/call), a free first query per operator, and the x402 payment flow via the X-PAYMENT header upon a 402 response. It omits failure modes, retry behavior, and whether verdicts are cached, so it is not fully transparent.

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?

Two tight sentences, front-loading the verdict semantics before the pricing/payment detail, with no filler. Slightly dense due to nested jargon (x402, 402 challenge) but every clause carries information.

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

Completeness3/5

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

The payment behavior is well covered, but for a single-parameter mutation-adjacent query tool with no output schema and no annotations, the description leaves the input parameter undocumented and gives no sense of the verdict's meaning or freshness. Adequate but with a clear gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one parameter (pool_id) with no schema description and the description never mentions it, so 0% coverage is not compensated. An agent must infer from the name alone what identifier is expected or what format it takes.

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 outcome (a pre-commit verdict) with the enumerated possible values OPEN / AT_RISK / CLIFFED, which tells an agent what it gets back. It names the operation ('query') and its subject, but does not differentiate itself from sibling tools like shadow_price or check_pool.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternative-selection guidance is given; the siblings (check_pool, shadow_price) are never referenced. The only 'when' information is a payment mechanic (a 402 challenge), which is not about tool selection.

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