Skip to main content
Glama

Get Verified Net Revenue & RPV

get_revenue_summary
Read-onlyIdempotent

Retrieve verified Creem and Stripe net revenue after refunds, RPV, and referral/AI channel attribution for monetization analysis.

Instructions

Return verified Creem and Stripe net payment revenue (after refunds), Revenue Per Visitor (RPV), and attributed referral/AI channel breakdown. Use for monetization attribution; for non-monetary step funnels, use get_funnel_report. Read-only via read token; derived from signed payment webhooks.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_revenue_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoLookback window relative to now (default "30d").30d
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.1
    • addedInput schema / properties / period / default
      Added value: +"30d"
    • changedInput schema / properties / period / description
      Previous value: -"24h | today | 7d | 30d | 90d (default 30d)"New value: +"Lookback window relative to now (default \"30d\")."
    • addedInput schema / properties / period / enum
      Added value: +[
      +  "24h",
      +  "today",
      +  "7d",
      +  "30d",
      +  "90d"
      +]
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety is covered; the description adds auth context ("read token") and, more valuably, data provenance ("derived from signed payment webhooks"), which explains why the figures are labeled verified. It does not address freshness/latency or how Creem and Stripe figures are reconciled, so it stops short of a 5.

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 front-loaded sentences with no filler: the first defines the output, the second routes the agent and states the access/provenance posture. Every clause earns its place.

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 does carry the burden of describing returns and does so by enumerating net revenue, RPV, and channel breakdown; annotations cover the safety profile. Gaps remain around currency, timezone/window alignment for the period, and data lag, which matter for a revenue metric but are secondary for correct invocation.

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 100% and both parameters are documented in-schema, including the period enum and the site_id format returned by list_sites, so the baseline is 3. The description adds no syntax or interpretation for period beyond noting refunds affect the figures, leaving the schema to do the work.

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 and a well-scoped resource set: verified Creem and Stripe net payment revenue after refunds, RPV, and referral/AI channel attribution. It also explicitly names the sibling it is not (get_funnel_report) for non-monetary funnels, so an agent can separate the two without reading either schema.

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

Usage Guidelines5/5

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

It gives an explicit positive condition ("Use for monetization attribution") and an explicit exclusion with a named alternative ("for non-monetary step funnels, use get_funnel_report"). That is the when-to-use / when-not-to-use / alternative pattern in miniature.

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