Skip to main content
Glama

Check my earnings

my_earnings
Read-only

What the signed-in seller has earned from their listings (their share, after the platform's fee and without tax), less refunds: in all, this month and last, and for each of the last 30 days and 12 months; how many subscribers they have; and their share of what subscribers will be charged when periods that have had a release end. Amounts are in cents.

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": {
      "context": "<context>"
    },
    "name": "my_earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as "the user" or "a buyer".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as \"the user\" or \"a buyer\".",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "context"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnlyHint=true and openWorldHint=false, so the safety profile is given. The description adds genuine behavioral context beyond that: earnings are the seller's share after the platform fee and without tax, refunds are deducted, amounts are in cents, and the reporting windows are all-time, this month, last month, last 30 days, and last 12 months. It does not state latency, caching, or whether figures are finalized versus provisional.

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?

It is a single dense sentence that front-loads the core definition and then enumerates the breakdowns, with parentheticals clarifying fee/tax treatment. Every clause carries information, though the run-on structure and the trailing 'subscribers' charge' clause make it harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of describing return values and does so thoroughly: earnings aggregates across multiple time windows, subscriber count, and upcoming subscriber charges from ended release periods, plus the currency unit. Combined with read-only annotations, an agent has enough to select and call this correctly; only explicit sibling routing is missing.

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?

There is a single parameter and schema description coverage is 100%, with the context field fully specified in the schema itself. The description adds no additional meaning about the context argument, 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 resource and computation: what the signed-in seller earned from their listings, their share after platform fee and excluding tax, net of refunds. It is clearly distinct from siblings like my_subscriptions or my_listings by scope, though it never explicitly names or contrasts with those alternatives.

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 by the scope ('what the signed-in seller has earned'), so an agent can infer this is the tool for earnings questions. There is no explicit when-to-use, no exclusions (e.g., versus my_subscriptions for subscriber questions), and no mention of prerequisites such as needing an authenticated seller context.

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