Skip to main content
Glama

Create referral

create_referral

Record a referral from an existing participant.

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

Input Schema

NameRequiredDescriptionDefault
codeNo
rewardNo
referred_nameNo
referred_emailNo
referrer_participant_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so safety and idempotency are covered structurally. The description adds only the 'existing participant' precondition and says nothing about duplicate handling for a non-idempotent write, permission requirements, or what side effects (reward issuance, code generation) the call triggers.

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

Conciseness3/5

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

It is a single well-formed front-loaded sentence with no filler, so it is not verbose. However brevity here comes from omission rather than discipline, leaving the statement too thin for a five-parameter write tool.

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 non-idempotent creation tool with five undocumented parameters, zero required fields, and no output schema, the description provides nowhere near enough information to call it correctly. An agent has to guess at field semantics and at what happens when the same referral is submitted twice.

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?

With 0% schema description coverage across five parameters, the description must carry the semantics and largely fails: it hints that referrer_participant_id must point at an existing participant, but code, reward, referred_name, and referred_email are left entirely undefined. Ambiguous fields like 'code' (referral code vs. discount code) and 'reward' (type vs. amount) are exactly where the description needed to compensate.

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 a specific verb and resource (record a referral) plus a scope constraint (from an existing participant), which an agent can distinguish from the many create_* siblings on other resources. It stops short of explaining what a referral record actually contains, but the core purpose is unambiguous.

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 explicit when-to-use guidance, no statement of when not to use it versus related create_* tools (e.g. create_participant, create_lead), and no workflow prerequisites. The phrase 'from an existing participant' implies a precondition but never states it as one.

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