Skip to main content
Glama
okwithit9-debug

permitverdict-mcp

resolve_price_event

Read-onlyIdempotent

Settle crypto price events by verifying if the asset traded or closed above/below a threshold during a chosen window. Returns YES/NO/DISPUTED/UNRESOLVED with evidence and confidence.

Instructions

PAID — $0.05 USDC. Settlement verdict for a crypto price event: did the asset trade or close above/below a threshold during a window? Returns YES / NO / DISPUTED / UNRESOLVED with per-venue evidence and stated confidence. Choose mode carefully — 'close' counts only candle closes, 'touch' counts any intrabar print including wicks. They routinely give different answers, and that difference is the single most common cause of a disputed settlement. When venues disagree the result is DISPUTED at low confidence rather than a confident guess. Pays automatically from the configured wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO-8601 window end. Defaults to now.
fromNoISO-8601 window start. Defaults to 24h before `to`.
modeNotouch = any intrabar print counts (default); close = only candle closes count
assetYesAsset symbol, e.g. BTC, ETH, SOL
operatorYesComparison against the threshold
thresholdYesPrice threshold in USD
Behavior1/5

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

Annotation contradiction: annotations declare readOnlyHint=true and idempotentHint=true, but the description states 'PAID — $0.05 USDC' and 'Pays automatically from the configured wallet.' This indicates a financial side effect that modifies wallet balance, contradicting the read-only and idempotent hints. Despite otherwise useful behavioral detail, the contradiction forces a score of 1.

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?

The description is concise yet front-loaded with the most critical facts: cost, purpose, return values, and mode selection. Every sentence contributes value—cost, outcome, mode warning, disagreement behavior, and payment. No fluff or redundancy.

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?

Despite no output schema, the description covers return values, evidence, confidence, venue disagreement behavior, and payment. It lacks explicit details about wallet configuration or edge cases, but for a tool with six parameters, it is largely complete and actionable.

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

Parameters4/5

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

Schema coverage is 100%, so parameters are already documented. The description adds important semantic context, especially for the 'mode' parameter: 'touch counts any intrabar print including wicks' and warns that 'the difference is the single most common cause of a disputed settlement.' This goes beyond the schema's dry enum descriptions.

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 clearly states the tool's function: 'Settlement verdict for a crypto price event: did the asset trade or close above/below a threshold during a window?' It specifies the resource (price event), the action (resolve/settle), and the return outcomes (YES/NO/DISPUTED/UNRESOLVED). This distinguishes it from siblings that attest or verify decisions.

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?

The description gives explicit guidance on mode choice: 'Choose mode carefully — close counts only candle closes, touch counts any intrabar print including wicks. They routinely give different answers.' It also explains why venues disagree leads to DISPUTED. It does not explicitly name alternative tools, but it provides clear context for when to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/okwithit9-debug/permitverdict-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server