Skip to main content
Glama

get_organization_earnings

Read-only

Gym earnings statement for a period: total, per-coach totals, and each payment with who sold it and who coaches that client now, plus the payout mode. Amounts are in the smallest currency unit. Payouts are settled outside the app.

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
organizationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

readOnlyHint already marks this as a safe read, and the description adds genuinely useful operational context: amounts are in the smallest currency unit and payouts are settled outside the app (so the returned data is informational, not actionable here). This is real disclosure beyond the annotation, though it says nothing about permissions or result size.

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?

Three tight sentences: purpose first, then the currency-unit caveat, then the settlement note. Every sentence carries distinct information with no filler, and the most important framing is front-loaded.

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 no output schema, the description usefully previews the return shape (total, per-coach breakdown, per-payment detail, payout mode), which is what an agent needs to judge relevance. The main gap is date-range parameter conventions, which the schema does not cover either.

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?

Schema description coverage is 0% for all three parameters. The phrase 'for a period' loosely implies that from/to bound the date range, but the description never explains the expected date format or what from/to mean relative to each other, leaving the undocumented parameters largely unexplained.

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+resource (earnings statement) and enumerates its contents: total, per-coach totals, each payment with seller and current coach, and payout mode. That level of specificity separates it from a raw sibling like list_organization_payments, though no sibling is named explicitly.

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?

It states the tool covers 'a period' but gives no when-to-use guidance, no exclusions, and no pointer to alternatives such as billing_summary or list_organization_payments. The agent must infer the choice entirely.

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.