Skip to main content
Glama

get_publisher_report

[Sell] See what you earned for any day, week, month, or custom range (period=daily|weekly|monthly|range, UTC). Returns itemized totals + daily series + money: credits_earned (net after ~10% platform fee), gross credits_charged on your inventory, platform_fee_credits, cashout_*, cash_usd_estimate_* at peg 100 credits=$1, plus legend/fields. Analytics warehouse (~15m lag). Scoped to your publisher_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoYYYY-MM-DD inclusive -- range mode
dateNoYYYY-MM-DD -- daily mode (default yesterday UTC)
monthNoYYYY-MM -- monthly mode (default current month to date)
startNoYYYY-MM-DD inclusive -- range mode
periodYesReporting window mode
week_startNoYYYY-MM-DD Monday -- weekly mode (default current ISO week to date)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"YYYY-MM-DD — daily mode (default yesterday UTC)"New value: +"YYYY-MM-DD -- daily mode (default yesterday UTC)"
    • changedInput schema / properties / end / description
      Previous value: -"YYYY-MM-DD inclusive — range mode"New value: +"YYYY-MM-DD inclusive -- range mode"
    • changedInput schema / properties / month / description
      Previous value: -"YYYY-MM — monthly mode (default current month to date)"New value: +"YYYY-MM -- monthly mode (default current month to date)"
    • changedInput schema / properties / start / description
      Previous value: -"YYYY-MM-DD inclusive — range mode"New value: +"YYYY-MM-DD inclusive -- range mode"
    • changedInput schema / properties / week_start / description
      Previous value: -"YYYY-MM-DD Monday — weekly mode (default current ISO week to date)"New value: +"YYYY-MM-DD Monday -- weekly mode (default current ISO week to date)"
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Without any annotations, the description fully discloses key behaviors: net calculations after a ~10% fee, gross credits, platform fee, cashout fields, USD peg, analytics warehouse lag (~15m), and publisher_id scoping. This gives the agent a strong understanding of the tool's operational traits.

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 description is information-dense but well-organized into three sentences, front-loading the core purpose. It covers the main output fields and operational details without excessive verbosity, though the middle sentence is a long list that could be slightly restructured for readability.

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?

Given no output schema, the description comprehensively outlines expected return data (itemized totals, daily series, money fields) and limitations (lag, scope), covering all period modes and cost breakdowns. This is complete enough for an agent to understand the report's content and invoke it properly.

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 descriptions already cover 100% of parameters, including formats and defaults. The description adds minimal extra parameter meaning beyond reiterating period modes and specifying UTC, which is already implied by the date formats. Thus it meets the baseline but does not significantly enhance schema semantics.

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?

Purpose is explicitly stated: 'See what you earned for any day, week, month, or custom range' with period options clearly enumerated. It distinguishes from sibling publisher reports by emphasizing general scope ('Scoped to your publisher_id') versus per-campaign/per-placement variants.

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?

The description provides clear context for when to use this tool (publisher earnings, various time periods) but does not explicitly mention alternatives or exclusions like get_publisher_report_by_campaign or by_placement. Usage is implied rather than directly contrasted with siblings.

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.