Skip to main content
Glama
x207 mcp

x207 mcp

Official

Epoch report (report 207)

x207_epoch_report
Read-onlyIdempotent

Retrieve an epoch's phase, deadlines, clearing summary, metrics, and cash settlements after it closes, with contract data still returned if the read API fails.

Instructions

One epoch of the circle: its phase and deadlines from the contract (get_epoch), and from the read API the summary, the metrics (cleared ratio: the share of debt that netting removed, so only the net cash moves) and the settlements, i.e. who owes whom what in cash. Use it after an epoch closed; use x207_simulate_clearing to test a proposal before it is submitted. Returns {epoch, contract, summary, metrics, settlements, source, warnings}. An epoch that does not exist is an error; if the read API is down the contract record is still returned, with the failures in warnings.

Input Schema

NameRequiredDescriptionDefault
epochNoEpoch number, 0 or more. Leave out for the current epoch, which is still open and has no settlements yet.
settlements_limitNoHow many settlement rows to return, 1 to 200 (default 20). A busy epoch has more; raise it to see them all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.0.5
    • changedInput schema / properties / epoch / description
      Previous value: -"Epoch number; the current epoch when left out."New value: +"Epoch number, 0 or more. Leave out for the current epoch, which is still open and has no settlements yet."
    • changedInput schema / properties / settlements_limit / description
      Previous value: -"How many items, 1 to 200 (default 20)."New value: +"How many settlement rows to return, 1 to 200 (default 20). A busy epoch has more; raise it to see them all."
  2. First observedv0.0.4

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses failure behavior: a nonexistent epoch is an error, and if the read API is down the contract record is still returned with failures surfaced in `warnings`. That partial-degradation contract is genuinely useful context an agent cannot get from annotations, though it says nothing about rate limits or result size beyond settlements_limit.

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?

Front-loaded with the purpose, then usage, then return shape and failure modes — a sensible order. The parenthetical definitions are dense and slightly run-on, but each clause carries information; no filler sentences.

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?

With no output schema, the description compensates by naming every top-level return key {epoch, contract, summary, metrics, settlements, source, warnings} and explaining the two non-obvious ones. Combined with the error and degraded-mode behavior, an agent has enough to call this correctly and interpret results.

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 coverage is 100%, and the schema already explains that omitting `epoch` yields the current open epoch and that `settlements_limit` caps returned rows. The description adds domain meaning to what settlements and metrics represent (who owes whom in cash; cleared ratio as debt removed by netting), which helps interpretation but is output semantics rather than parameter guidance, so the baseline 3 holds.

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?

States a specific verb-and-resource: retrieves one epoch's phase and deadlines from the contract plus summary, metrics and settlements from the read API. It explicitly names the sibling it is not (x207_simulate_clearing) and enumerates the returned components, so an agent can distinguish it from sibling tools without opening schemas.

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

Usage Guidelines5/5

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

Gives an explicit timing condition ('use it after an epoch closed') and an alternative route for the other case ('use x207_simulate_clearing to test a proposal before it is submitted'). When-to-use and when-to-use-something-else are both present, leaving little to inference.

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