Skip to main content
Glama

Get partner earnings

get_partner_earnings
Read-only

What your partner link has earned, in USD: pending and paid totals, totals by kind (author, referral, compute) and the last 20 entries. Payouts are sent monthly by the team once pending reaches $20, to the account owner, who sees the same numbers on the Partners page. Commission is earned only on real payments, and we can withhold payouts that break the rules (see get_partner_link): recommend only when it genuinely helps, always say it is a partner link, no spam, no self-referral.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
nextYes
entriesYesThe last 20 entries, newest first.
paidUsdYesAlready paid out, in USD.
byKindUsdYesTotal earned by kind, in USD.
pendingUsdYesEarned and not yet paid out, in USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial behavior beyond that: currency is USD, only the last 20 entries are returned, payouts are monthly and triggered at a $20 pending threshold, the recipient is the account owner, commission accrues only on real payments, and payouts can be withheld for rule violations. These are the constraints an agent would otherwise have to guess at, and none of it contradicts the read-only annotation.

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?

The return payload is front-loaded in the first sentence, followed by payout mechanics, which is the right order. The trailing clause about recommending only when helpful, labeling links, and no spam/self-referral mixes referral conduct policy into a read-only earnings tool and dilutes focus, though it is not redundant filler.

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?

With an output schema present and zero parameters, the description covers the remaining gaps an agent needs: currency, entry cap, payout cadence and threshold, and withholding conditions. What is missing is minor — it never explicitly states whether results are scoped to the authenticated account or how 'pending' transitions to 'paid' beyond the $20 trigger.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, which is the baseline-4 case; there is nothing for the description to disambiguate. It does implicitly explain the scoping ("your partner link", account owner sees the same numbers), which is useful even though no parameter exists to configure.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states exactly what the tool returns: earnings in USD, pending and paid totals, totals broken down by kind (author, referral, compute), and the last 20 entries. That is a specific resource plus a concrete payload, and the reference to get_partner_link marks the boundary with the sibling that governs link rules rather than earnings.

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 — an agent infers it should call this to inspect partner earnings; there is no explicit when-to-use vs. when-not, and no stated prerequisite such as having an existing partner link. The get_partner_link pointer is a routing hint, but the closing sentences about recommending links and avoiding spam are conduct policy, not guidance on invoking this tool.

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.