Skip to main content
Glama

Get Sales Summary

steam_getSalesSummary
Read-only

Summarize Steam sales over a date range by units, returns, activations, and gross/net revenue, grouped by country, day, app, package, or platform with optional prior-period comparison.

Instructions

Summarize your Steam sales for a date range (up to 31 days): units sold, returned, and activated, and gross and net revenue in USD, grouped by country, day, app, package, or platform, optionally compared with the previous period of the same length. Reads IPartnerFinancialsService with a Financial API Group key (STEAM_FINANCIAL_API_KEY, or STEAM_API_KEY), server IP allowlisted.

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": {
      "start_date": "<start_date>"
    },
    "name": "steam_getSalesSummary"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoReturn the top N groups by net revenue (default: 25)
appidNoOnly count sales of this app (matches appid or primary_appid)
formatNojson (default) or csv for spreadsheets
end_dateNoLast date, inclusive (default: start_date). At most 31 days after start_date.
group_byNoHow to group the totals (default: country)
start_dateYesDate in YYYY-MM-DD, Pacific Time (Steam's financial day)
compare_previousNoAlso total the same-length period ending the day before start_date, and add previous_*, delta_*, and delta_pct to each group and to totals (default: false). Doubles the number of requests. With group_by day, each day is compared with the day the same distance into the previous period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the supplied readOnlyHint and openWorldHint, it discloses the credential requirements (STEAM_FINANCIAL_API_KEY or STEAM_API_KEY), the server IP allowlist, the backing service, the 31-day cap, and a real cost trait — that compare_previous doubles the number of requests. That is exactly the kind of non-obvious operational detail annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The output content is front-loaded in the first clause, followed by grouping and comparison options, then prerequisites. Both sentences are dense but every clause carries distinct information; nothing is redundant filler.

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?

For a 7-parameter read tool with no output schema, the description closes the key gaps by naming the returned metrics and the previous_*/delta_* additions, and by stating the auth and allowlist prerequisites. An agent has everything needed to decide and call correctly.

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 description coverage is 100% and every parameter already carries a description, so the baseline is 3. The description restates the grouping options and the previous-period comparison but adds no format, default, or interaction detail beyond what the schema already documents.

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 description names a specific verb-resource pair (summarize Steam sales) and enumerates exactly what comes back: units sold, returned, activated, gross and net revenue in USD, plus the grouping dimensions. An agent can immediately distinguish this from sibling calls such as steam_getChangedSalesDates or steam_getAppReviewSummary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives clear operating context: a date range of at most 31 days, optional previous-period comparison, and a specific grouping choice. It does not explicitly state when to prefer the sibling date-discovery tool first or when not to use this tool, so it stops short of full when/when-not routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.