Skip to main content
Glama

Get XRC session usage

get_xrc_usage
Read-onlyIdempotent

Read-only usage statistics from Explorer PGRO tx_receipts for XRC-137 rules or XRC-729 OSTC/process filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOperation or handoff type identifier.
limitNoMaximum number of records to return.
ostcIdNoOrchestration step contract id for the XDaLa workflow.
addressYesEVM wallet, Safe or contract address in 0x-prefixed hexadecimal format.
ostcHashNoHash or identifier of the orchestration step contract artifact.
windowHoursNoValue for the window hours parameter.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesStructured result data returned by the XGR MCP gateway.

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description's claim of being 'Read-only' is consistent. However, it adds only the data source detail ('Explorer PGRO tx_receipts') without further behavioral context like response shape or performance characteristics.

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?

A single, well-structured sentence that front-loads the primary action ('Read-only usage statistics') and concisely specifies the data source and filter types. No extraneous information.

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?

Given the output schema exists (presumably defining the returned statistics) and annotations cover safety and idempotency, the description provides sufficient context on what the tool does and its data provenance. However, a brief note on the difference between the two filter types (rules vs. OSTC/process) could further aid understanding.

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 baseline is 3. The description adds value by explaining the 'type' parameter's options ('xrc137' or 'xrc729') correspond to the two filter concepts, which provides context beyond the schema's generic 'Operation or handoff type identifier.' Other parameters like 'ostcId' and 'windowHours' lack elaboration, but the key filter dimension is clarified.

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 provides 'Read-only usage statistics' from a specific data source ('Explorer PGRO tx_receipts') and mentions the two filtering dimensions ('XRC-137 rules or XRC-729 OSTC/process filters'), which distinguishes it from sibling tools that focus on specific session data or transaction logs.

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?

The description implies usage for retrieving aggregate usage statistics but does not explicitly indicate when to use this tool over alternatives like 'get_xdala_session_timeseries' or 'get_xrc_failure_stats'. No when-not or alternative scenarios are mentioned.

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.

TDQS

B3.2/5.0
Disambiguation2/5

There are many overlapping session-listing tools (list_xdala_sessions, get_recent_xdala_sessions, find_latest_xdala_session, list_xdala_session_ids, get_latest_session_payload) and duplicate validation tools (validate_xdala_bundle is an alias for validate_xgr_multibundle). Descriptions help but boundaries are still unclear.

Naming Consistency4/5

The verb_noun snake_case pattern is consistent across nearly all tools (get_, list_, create_, cancel_, validate_). Minor inconsistencies include the alias validate_xdala_bundle and interchangeable verbs like get_ vs read_ vs resolve_ for similar read operations.

Tool Count1/5

With 95 tools, this is far beyond the 25+ threshold for 'too many'. While the domain is broad, the sheer number makes the tool surface unwieldy and difficult for an agent to navigate.

Completeness4/5

The tool set covers a wide range of operations: handoffs, session queries, transaction exploration, contract reads, validation, gas requests, and purchases. Minor gaps exist (e.g., no direct workflow editing tools), but overall the surface is remarkably complete.