Skip to main content
Glama

list_referrals

List the project's referrals, filterable by status, referrer or credit type (program). Costs 1 CRD (platform credit) per call, charged even when the call is then rejected (a 429 RATE_LIMITED costs nothing). Error results include request_id; quote it to support.

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": "list_referrals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults per page (max 100, default 50)
offsetNoPagination offset
statusNoFilter by status
api_keyNoCred API key (optional if set via the x-api-key header)
project_idNoCred project ID (optional; the API key already identifies the project. Signed in with 1Profile and owning several projects, it picks one)
x402_paymentNoBase64 x402 PaymentPayload, only when a previous call failed with an x402 PaymentRequired because the account is out of CRD
credit_type_idNoOnly this credit type's program
referrer_emailNoFilter by referrer email
referrer_user_idNoFilter by referrer external ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Cred project ID (optional; the API key already identifies the project)"New value: +"Cred project ID (optional; the API key already identifies the project. Signed in with 1Profile and owning several projects, it picks one)"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full load and does so well: it discloses a per-call charge of 1 CRD, that the charge applies even to calls later rejected, that a 429 RATE_LIMITED is free, and that errors carry a request_id to quote to support. It stops short of describing auth prerequisites or the shape of successful results, which keeps it from 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?

Three tight sentences: purpose first, then billing behavior, then error-handling guidance. Every clause carries information an agent would otherwise lack, and nothing is padded.

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?

For a nine-parameter, read-only listing tool with full schema coverage and no output schema, the description covers purpose, filter scope, billing cost and error recovery. Auth flow and pagination/return behavior are left entirely to the schema, which is acceptable but not exhaustive.

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 description coverage is 100%, so every one of the nine parameters is already documented, giving a baseline of 3. The description adds only marginal meaning, mainly glossing credit_type_id as the credit type's program, and otherwise restates the filter axes the schema already covers.

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 ("List the project's referrals") and names the three filter axes (status, referrer, credit type), so the operation and scope are unambiguous. It does not explicitly differentiate itself from write-side siblings like apply_referral or complete_referral, which keeps it below a 5.

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?

Usage is only implied by the read-style verb and the filter list; there is no explicit statement of when to choose this tool over siblings such as list_credit_types or get_referral_settings. The cost disclosure (1 CRD per call) does give the agent a real decision input before invoking, which lifts it above a bare 2.

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