Skip to main content
Glama

reorg_stats

Read-onlyIdempotent

Summary statistics of reorganizations per period (24h, 7d, 30d, 90d and everything recorded): event count, average and maximum depth, transactions affected, plus the date monitoring began.

Use this for "how many reorgs and how deep"; for the individual events use reorgs. Takes no arguments.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reorg_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the aggregation windows, the exact metrics returned, and the presence of a monitoring-start date. It does not discuss freshness/latency of the aggregates or how incomplete periods are handled, which keeps it below 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.

Conciseness5/5

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

Two short sentences, front-loaded with the metric inventory followed by the routing hint. No filler, no restatement of the tool name, and the 'takes no arguments' note closes the definition cleanly.

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 zero-argument read-only aggregate with no output schema, the description effectively serves as the return-value inventory, listing each field the caller will receive plus the time windows. Nothing an agent needs in order to call it or interpret the result is missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; it usefully confirms 'Takes no arguments,' removing any doubt about whether period filters or chain selectors exist. Baseline for a parameterless tool 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?

States a specific verb and resource (summary statistics of reorganizations) and enumerates exactly what is aggregated: event count, average and maximum depth, transactions affected, and the monitoring start date. It also names the period buckets (24h, 7d, 30d, 90d, all-time), making it clearly distinguishable from the event-level sibling.

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 selection rule in quoted intent form ("how many reorgs and how deep") and names the alternative tool 'reorgs' for individual events. An agent can route correctly without inspecting either schema.

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.