Skip to main content
Glama

List affiliates

list_affiliates
Read-onlyIdempotent

List affiliates (referral partners) for the current tenant.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 20, max 200)
offsetNoPagination offset (default 0)
searchNoFree-text search over name, email, company
statusNoFilter by status

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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, so the safety profile is covered. The description contributes the tenant-scoping behavior, which matters for what data comes back, but says nothing about ordering, pagination behavior, or what an empty result means.

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. It is appropriately terse for a simple list operation, though it could have used one more clause of substance rather than stopping where it does.

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?

This is a low-complexity read tool with full parameter documentation and safety annotations, so most requirements are met. The notable gap is that no output schema exists and the description never indicates what an affiliate record contains or how results are shaped.

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%, with limit, offset, search fields, and status all documented inline, so the schema carries the parameter burden. The description adds no syntax or semantics beyond it, which is the baseline 3 case.

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?

States a specific verb and resource ('List affiliates') and adds a useful gloss ('referral partners') plus the scope ('for the current tenant'), which distinguishes it from sibling listers like list_affiliate_commissions and list_affiliate_payouts by subject matter. It does not explicitly name those siblings, keeping it short of a 5.

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: it's a listing tool, so an agent can infer 'use this to browse affiliates.' There is no statement of when to prefer it over the commission or payout listers, and no preconditions or exclusions are given.

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