Skip to main content
Glama

Get Referral Stats

get_referral_stats

Get referral statistics for a registered agent — total referrals, earnings, reward per burn, and calldata for referred burns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesAgent wallet address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the output type but does not explicitly state that the operation is read-only or describe any side effects, authentication requirements, or error conditions. The 'get' verb implies a safe read, but it's not spelled out.

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 a single, well-structured sentence. It front-loads the action and resource, then uses an em-dash to list the specific data returned. Every word earns its place with no 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?

Given the tool's simplicity (one parameter, no output schema, no annotations), the description provides a good range of what the stats include. It partially compensates for the missing output schema by enumerating the returned fields, though it doesn't specify the return format or any pagination behavior.

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?

The schema already has 100% coverage for the single 'address' parameter. The description adds no additional meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 verb 'Get' and the resource 'referral statistics' for a registered agent. It lists specific data points (total referrals, earnings, reward per burn, calldata for referred burns), distinguishing it from siblings like register_referral_agent or get_megachad_stats.

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 phrase 'for a registered agent' implies the tool is used after registration, but there is no explicit alternative or exclusion. It doesn't mention when to use this over other stats tools, leaving the context implied rather than explicit.

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.