Skip to main content
Glama

memeswap_referral_stats

Read-onlyIdempotent

Use to read counts for a referral code (GET /api/referrals/stats); public counts, and with wallet, signature and ts (the referral message signature) the referrer own earnings rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
codeYes
walletNoPublic 0x EVM address. Never a key or seed.
signatureNopersonal_sign signature produced by the caller wallet over the exact message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, openWorld, and non-destructive behavior. The description adds meaningful behavioral context by explaining that certain parameters unlock private earnings data versus public counts, which goes beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is a single sentence and front-loads the main purpose, but the parenthetical about the referral message signature is awkwardly placed after ts, and the phrase 'the referrer own earnings rows' is grammatically unclear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only stats tool with no output schema, the description gives enough to understand the two modes and required credentials. However, it leaves ts semantics and the exact shape or availability of returned counts and earnings rows underspecified.

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 50%, with wallet and signature described in the schema. The description adds that wallet, signature, and ts together are needed for earnings rows, but it does not clarify the meaning or format of ts, and code is only implicitly defined as a referral code.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: read counts for a referral code, and names the underlying API endpoint. It also distinguishes public counts from authenticated earnings rows, though it does not explicitly contrast itself with sibling referral tools like memeswap_referral_code or memeswap_referral_accept.

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?

It clearly explains the two usage modes: public counts require only the referral code, while referrer-specific earnings rows require wallet, signature, and ts. It does not name alternative tools or specify when not to use this one, but the context is clear.

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.

Resources