Skip to main content
Glama

List AccountReferralCode

accountreferralcode_list
Read-onlyIdempotent

Lists AccountReferralCode with your own account permissions, the same as the site.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
order_byNo
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / consumer_user_id
      Added value: +{
      +  "description": "Act on this seat (own seat, account owner or admin, or staff). Same checks as the site.",
      +  "type": "string"
      +}
  2. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds one genuinely useful piece of context: results are constrained to the caller's own account permissions with the same checks as the site. It omits pagination defaults, ordering behavior, and result size, which matter for a list tool.

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

Conciseness4/5

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

A single tight sentence with no padding, and the permission scoping is stated up front. The clause 'the same as the site' is somewhat vague filler that duplicates the consumer_user_id description.

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

Completeness2/5

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

For a four-parameter list tool with no output schema and 25% schema coverage, the description should explain pagination, ordering, and what a referral code record contains. None of that is present, leaving the agent to guess at the most operationally important parameters.

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 only 25%: consumer_user_id is documented, but limit, offset, and order_by have no schema descriptions. The description says nothing about these three parameters, so it fails to compensate for the coverage gap.

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 gives a specific verb and resource ('Lists AccountReferralCode'), which cleanly separates it from the create/get siblings. It stops short of describing scope or what the listing contains, so the agent knows the operation but not what it returns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no stated alternatives, and no exclusions. The phrase 'with your own account permissions' describes access scope rather than when this tool should be selected over accountreferral_list or accountreferralcode_get.

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.