Skip to main content
Glama

get_ledger

The floor’s revenue-vs-ad-spend ledger: revenue, counts, conversions delivered/failed, spend, revenue ÷ spend, health and what to fix; live, also anonymous benchmarks against other floors (when the owner shares) and the floor’s referral link.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful behavioral trait: the anonymous cross-floor benchmarks only appear 'when the owner shares,' so the agent knows that section is conditionally present rather than guaranteed. It also flags that the referral link is included. It does not state that this is a read-only operation, does not explain what dry_run changes, and gives no sense of cost or latency.

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?

One long semicolon-chained sentence packs in real information with little filler, and the core resource is front-loaded. However, the second clause runs on into benchmarks and referral-link details, making it harder to parse than a two- or three-sentence structure would be.

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?

There is no output schema, so the description rightly spends its space enumerating return fields, which is helpful. But for a two-parameter tool with zero schema coverage and no annotations, it leaves the primary knobs (days, dry_run) undefined — a meaningful gap for what is otherwise a data-heavy read tool.

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%, so the description must compensate and largely fails to. It never mentions the days window, its default, or its 1-90 bound, and never explains what the mode enum's dry_run value does — the lone mention of 'live' is ambiguous about whether it refers to the parameter. Only a faint hint of one parameter is added beyond the schema.

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?

Names a concrete resource — 'the floor's revenue-vs-ad-spend ledger' — and enumerates what it contains (revenue, counts, conversions delivered/failed, spend, revenue ÷ spend, health, fixes). That is specific enough to separate it from save_spend and save_attribution, which are write-side siblings. The action verb is only implied by the name rather than stated, which keeps 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this versus get_status or get_sync_log, and no prerequisites or ordering advice. The word 'live' appears, but as a description of the data rather than guidance on choosing between the live and dry_run modes. The agent must infer the calling context 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.

Resources