Skip to main content
Glama

Get AccountReferralCode

accountreferralcode_get
Read-onlyIdempotent

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "accountreferralcode_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRow id (uuid).
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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds authorization context ('with your own account permissions'), which is genuinely beyond the annotations, but it offloads the actual rules to 'the same as the site' rather than stating them, and says nothing about not-found behavior.

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 front-loaded sentence with the verb, resource, and permission scope first. The trailing clause 'the same as the site' is vague filler that does little work, costing a point.

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 simple single-row read with one required parameter, a fully described schema, and read-only annotations, this is nearly sufficient. Minor gaps remain: nothing about behavior when the id does not exist or belongs to another account, and no mention of what the returned record contains (no output schema exists).

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 both `id` (uuid) and `consumer_user_id` (seat/owner/admin/staff check) are already documented in the schema. The description adds no per-parameter meaning and effectively restates the `consumer_user_id` note ('Same checks as the site'), so the baseline of 3 applies.

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 ('Reads one AccountReferralCode') and pins the scope to a single row, which implicitly distinguishes it from the sibling list/create variants. It stops short of naming those siblings, so it is clear but not maximally differentiated.

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: 'one' plus a required `id` signals a single-record fetch when the id is already known, versus a list call. There is no explicit when-to-use statement, no exclusion of alternatives, and no note about what to do when the id is unknown.

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.