Skip to main content
Glama

Customer referrals

list_customer_referrals
Read-onlyIdempotent

Customers who referred someone new, whether the reward is owed yet (the new customer has paid an invoice of at least the business’s minimum), and the credit memo issued. READ ONLY: a reward is issued by a person in Seayora as a credit on the books, never from here, and nothing here moves money.

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_customer_referrals"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNo
limitNo

Output Schema

NameRequiredDescriptionDefault
settingsNo
referralsNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
reading_thisNo
rewards_owed_totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description goes beyond them by drawing the workflow boundary explicitly — rewards are issued by a person in Seayora as a credit on the books, never here, and nothing here moves money — which prevents an agent from assuming it can trigger payouts. It does not disclose pagination behavior or how many rows come back.

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 sentences, both earning their place: the first defines the row content, the second front-loads READ ONLY and the workflow constraint. No filler or restatement of the tool name.

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?

The tool is low-complexity with an output schema, so return values need no explanation, and the read-only constraint is well covered. What remains missing is the meaning of the view enum values and what limit defaults to or caps at, both of which the agent needs to filter correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden, and it only partially does. The parenthetical about 'the reward is owed yet (the new customer has paid an invoice of at least the minimum)' hints at the owed/waiting states behind the view enum but never maps to the four enum values (all/owed/waiting/credited), and the limit parameter is not mentioned at all.

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 names the resource precisely — customers who referred someone new — and adds the two dimensions the rows carry (reward-owed status and the resulting credit memo). That is enough to distinguish it from generic siblings like list_customers, though the verb is only implied by the tool name and no sibling is named as an alternative.

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 implied rather than stated: an agent can infer this is the tool for referral/reward reporting, and the parenthetical explains what makes a reward 'owed'. There is no explicit when-to-use vs. when-not guidance and no pointer to a related tool for issuing the credit.

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