Skip to main content
Glama

Revenue activity

get_revenue_activity
Read-onlyIdempotent

The latest payments, refunds, failed payments and subscription changes (new, upgrade, downgrade, cancelled, returning), newest first, for one app or all. Anonymous: amounts, products and apps only, no customers' names or emails.

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

Input Schema

NameRequiredDescriptionDefault
appNoThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds genuinely new context: results are ordered newest first and are anonymized, exposing amounts, products and apps but no customer names or emails. That privacy boundary is exactly the kind of trait an agent cannot infer from annotations.

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?

Two tightly packed sentences with the event types, ordering, scope and privacy note front-loaded; no filler or redundant restatement of the title.

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 carries the return-shape burden and does so reasonably by naming what fields appear (amounts, products, apps) and what is withheld. A brief note on pagination or volume relative to limit would close the remaining gap.

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 coverage is 50%: the app parameter is well documented in the schema, while limit has only a default and bounds. The description compensates partially by clarifying that omitting app returns activity across all apps, but says nothing about how limit affects the result or how many events come back.

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 uses a concrete resource (payments, refunds, failed payments, subscription changes) and enumerates the event subtypes and ordering, so an agent can tell it apart from a metric-style sibling like get_revenue. It stops short of naming an alternative for aggregate revenue, which keeps it from 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 Guidelines3/5

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

Usage is only implied: 'latest ... newest first, for one app or all' tells the agent this is a chronological feed and that the app filter is optional, but there is no explicit statement of when to choose this over get_revenue or get_analytics, and no exclusions.

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