Skip to main content
Glama

Get AccountReferral

accountreferral_get
Read-onlyIdempotent

Reads one AccountReferral 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": "accountreferral_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, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's real contribution is authorization context: it reads "with your own account permissions, the same as the site," telling the agent results are scoped to the caller's visibility. It still omits the failure mode for missing or forbidden rows.

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 no filler. The phrase "the same as the site" is duplicated in the consumer_user_id parameter description, a minor redundancy but nothing structurally wasteful.

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 two-parameter, 100%-documented read with rich annotations, the definition is close to sufficient: identity, scope, and permission model are all covered. A brief note on behavior for an unknown id or an unauthorized seat would close the remaining gap.

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 100%, so both the id uuid and the consumer_user_id seat-scoping semantics are already documented in the schema, including the owner/admin/staff permission rule. The description's permission phrase echoes that without adding syntax, format, or edge-case detail.

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?

"Reads one AccountReferral" gives a specific verb (read) and single-resource scope, which distinguishes it from the plural sibling accountreferral_list. It does not name any sibling explicitly, so differentiation is inferred from the word "one" rather than stated.

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: fetching a single record by id. There is no explicit when-to-use guidance, no statement of when to prefer accountreferral_list, and no mention of what happens when the id is unknown or inaccessible.

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.