Skip to main content
Glama

CULT+MATH Decision Briefs

Are we ahead of or behind our peers on this metric?

run_peer_benchmark
Read-onlyIdempotent

Use when the user names a public company and asks how its growth, margin, R&D or marketing spend compares with competitors. Returns the company's revenue growth, gross margin, or R&D or sales-and-marketing as a share of revenue for its latest fiscal year, each peer's, the peer median, the gap and the rank, from SEC EDGAR XBRL as filed; every excluded peer is named with the reason. Every result carries a run id, a date and a citation line. Calling this tool returns a quote, not the result: what the run measures, its price and a payment_url. The run happens only when you POST to payment_url, and a run that fails its controls refuses there with nothing charged. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: latest fiscal year only; compare: peers (the comparison set); segment: metric (growth, margin, R&D, S&M, ad intensity). Price: $0.05 per run over x402 (USDC on Base, no account needed), or $0.50 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For where the revenue comes from, use run_revenue_mix. A real sample of this run, free: https://cultmath.com/agent/samples/peer-benchmark.json

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": {
      "ticker": "<ticker>",
      "peers": "<peers>",
      "metric": "<metric>"
    },
    "name": "run_peer_benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
peersYes2-6 peer tickers from the same list, comma-separated, e.g. "CAG,CPB,KHC".
metricYesWhat to compare, from each company's latest 10-K: revenue_growth (revenue growth), gross_margin (gross margin), rd_intensity (R&D as a share of revenue), sm_intensity (sales and marketing as a share of revenue), ad_intensity (advertising as a share of revenue), operating_margin (operating margin).
tickerYesThe company.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the run is unavailable, when it is.
errorNoWhy the inputs were refused, with the expected usage. Nothing is charged.
limitsNoWhat the run cannot tell you, stated before you pay.
recipeNoThe run, e.g. "filing-trend".
availableNofalse when the run is switched off; then nothing can be charged.
next_stepNoWhat to tell the user before paying.
price_usdNoPrice over MPP (Stripe shared payment token).
payment_urlNoPOST here to run and pay. Not a checkout page.
instructionsNoHow to pay over MPP and x402, and how to ask for publication.
what_you_getNoWhat the paid result will contain for these inputs.
x402_price_usdNoPrice over x402 (USDC on Base), when offered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ticker / enum
      Previous value: -[
      -  "PEP",
      -  "KO",
      -  "K",
      -  "POST",
      -  "KDP",
      -  "CELH",
      -  "UTZ",
      -  "HRL",
      -  "GIS",
      -  "KHC",
      -  "CAG",
      -  "CPB",
      -  "HSY",
      -  "MDLZ",
      -  "SJM",
      -  "CLX",
      -  "CL",
      -  "CHD",
      -  "PG",
      -  "SMPL",
      -  "BRBR",
      -  "MSFT",
      -  "EA",
      -  "TTWO",
      -  "RBLX",
      -  "OMC",
      -  "STGW",
      -  "CRM",
      -  "HUBS",
      -  "TDOC",
      -  "TALK",
      -  "GDDY",
      -  "GEN",
      -  "NFLX",
      -  "AMZN",
      -  "DKNG",
      -  "FLUT",
      -  "CHDN",
      -  "PENN",
      -  "RSI",
      -  "MSGS",
      -  "BATRA",
      -  "TKO",
      -  "LYV",
      -  "SPHR",
      -  "MSGE"
      -]New value: +[
      +  "PEP",
      +  "KO",
      +  "K",
      +  "POST",
      +  "KDP",
      +  "CELH",
      +  "UTZ",
      +  "HRL",
      +  "GIS",
      +  "KHC",
      +  "CAG",
      +  "CPB",
      +  "HSY",
      +  "MDLZ",
      +  "SJM",
      +  "CLX",
      +  "CL",
      +  "CHD",
      +  "PG",
      +  "SMPL",
      +  "BRBR",
      +  "MSFT",
      +  "EA",
      +  "TTWO",
      +  "RBLX",
      +  "OMC",
      +  "STGW",
      +  "CRM",
      +  "HUBS",
      +  "TDOC",
      +  "TALK",
      +  "GDDY",
      +  "GEN",
      +  "NFLX",
      +  "AMZN",
      +  "DKNG",
      +  "FLUT",
      +  "CHDN",
      +  "PENN",
      +  "RSI",
      +  "MSGK",
      +  "BATRA",
      +  "TKO",
      +  "LYV",
      +  "SPHR",
      +  "MSGE"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / metric / description
      Previous value: -"What to compare, from each company's latest 10-K: revenue_growth (revenue growth), gross_margin (gross margin), rd_intensity (R&D as a share of revenue), sm_intensity (sales and marketing as a share of revenue), ad_intensity (advertising as a share of revenue)."New value: +"What to compare, from each company's latest 10-K: revenue_growth (revenue growth), gross_margin (gross margin), rd_intensity (R&D as a share of revenue), sm_intensity (sales and marketing as a share of revenue), ad_intensity (advertising as a share of revenue), operating_margin (operating margin)."
    • changedInput schema / properties / metric / enum
      Previous value: -[
      -  "revenue_growth",
      -  "gross_margin",
      -  "rd_intensity",
      -  "sm_intensity",
      -  "ad_intensity"
      -]New value: +[
      +  "revenue_growth",
      +  "gross_margin",
      +  "rd_intensity",
      +  "sm_intensity",
      +  "ad_intensity",
      +  "operating_margin"
      +]
    • changedInput schema / properties / ticker / enum
      Previous value: -[
      -  "PEP",
      -  "KO",
      -  "K",
      -  "POST",
      -  "KDP",
      -  "CELH",
      -  "UTZ",
      -  "HRL",
      -  "GIS",
      -  "KHC",
      -  "CAG",
      -  "CPB",
      -  "HSY",
      -  "MDLZ",
      -  "SJM",
      -  "CLX",
      -  "CL",
      -  "CHD",
      -  "PG",
      -  "SMPL",
      -  "BRBR",
      -  "MSFT",
      -  "EA",
      -  "TTWO",
      -  "RBLX",
      -  "OMC",
      -  "STGW",
      -  "CRM",
      -  "HUBS",
      -  "TDOC",
      -  "TALK",
      -  "GDDY",
      -  "GEN",
      -  "NFLX",
      -  "AMZN"
      -]New value: +[
      +  "PEP",
      +  "KO",
      +  "K",
      +  "POST",
      +  "KDP",
      +  "CELH",
      +  "UTZ",
      +  "HRL",
      +  "GIS",
      +  "KHC",
      +  "CAG",
      +  "CPB",
      +  "HSY",
      +  "MDLZ",
      +  "SJM",
      +  "CLX",
      +  "CL",
      +  "CHD",
      +  "PG",
      +  "SMPL",
      +  "BRBR",
      +  "MSFT",
      +  "EA",
      +  "TTWO",
      +  "RBLX",
      +  "OMC",
      +  "STGW",
      +  "CRM",
      +  "HUBS",
      +  "TDOC",
      +  "TALK",
      +  "GDDY",
      +  "GEN",
      +  "NFLX",
      +  "AMZN",
      +  "DKNG",
      +  "FLUT",
      +  "CHDN",
      +  "PENN",
      +  "RSI",
      +  "MSGS",
      +  "BATRA",
      +  "TKO",
      +  "LYV",
      +  "SPHR",
      +  "MSGE"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "available": {
      +      "description": "false when the run is switched off; then nothing can be charged.",
      +      "type": "boolean"
      +    },
      +    "error": {
      +      "description": "Why the inputs were refused, with the expected usage. Nothing is charged.",
      +      "type": "string"
      +    },
      +    "instructions": {
      +      "description": "How to pay over MPP and x402, and how to ask for publication.",
      +      "type": "object"
      +    },
      +    "limits": {
      +      "description": "What the run cannot tell you, stated before you pay."
      +    },
      +    "next_step": {
      +      "description": "What to tell the user before paying.",
      +      "type": "string"
      +    },
      +    "note": {
      +      "description": "Why the run is unavailable, when it is.",
      +      "type": "string"
      +    },
      +    "payment_url": {
      +      "description": "POST here to run and pay. Not a checkout page.",
      +      "type": "string"
      +    },
      +    "price_usd": {
      +      "description": "Price over MPP (Stripe shared payment token).",
      +      "type": "number"
      +    },
      +    "recipe": {
      +      "description": "The run, e.g. \"filing-trend\".",
      +      "type": "string"
      +    },
      +    "what_you_get": {
      +      "description": "What the paid result will contain for these inputs.",
      +      "type": "string"
      +    },
      +    "x402_price_usd": {
      +      "description": "Price over x402 (USDC on Base), when offered.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / metric / description
      Previous value: -"What to compare, from each company's latest 10-K: revenue_growth (revenue growth), gross_margin (gross margin), rd_intensity (R&D as a share of revenue), sm_intensity (sales and marketing as a share of revenue)."New value: +"What to compare, from each company's latest 10-K: revenue_growth (revenue growth), gross_margin (gross margin), rd_intensity (R&D as a share of revenue), sm_intensity (sales and marketing as a share of revenue), ad_intensity (advertising as a share of revenue)."
    • changedInput schema / properties / metric / enum
      Previous value: -[
      -  "revenue_growth",
      -  "gross_margin",
      -  "rd_intensity",
      -  "sm_intensity"
      -]New value: +[
      +  "revenue_growth",
      +  "gross_margin",
      +  "rd_intensity",
      +  "sm_intensity",
      +  "ad_intensity"
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / metric / description
      Added value: +"What to compare, from each company's latest 10-K: revenue_growth (revenue growth), gross_margin (gross margin), rd_intensity (R&D as a share of revenue), sm_intensity (sales and marketing as a share of revenue)."
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The description adds substantial context the annotations cannot carry: the call returns a quote rather than results, the run only executes after a POST to payment_url, pricing is $0.05 via x402 or $0.50 via MPP, failures are not charged, excluded peers are named with reasons, and every result carries a run id, date and citation. That is real disclosure of cost, auth path and failure semantics. Minor tension with idempotentHint=true, since repeated invocations are each billed as a separate run, which is not fully reconciled.

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?

The trigger is correctly front-loaded and the payment mechanics follow logically, but the quote-versus-run relationship is explained twice and 'each call is its own run' appears twice, so the paragraph is longer than the content requires. The trailing sample URL is useful, though it lengthens an already dense block.

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 paid, multi-stage tool this covers everything an agent needs: preconditions, what is returned, the two-step quote-then-pay flow, pricing, failure behavior, and where to find a free sample. An output schema exists, so the description is not obliged to enumerate return fields, and it does not waste space doing so.

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 two of three parameters carry enums, so the schema already defines ticker, peer formatting and metric values. The description only restates the metric family (growth, margin, R&D, S&M, ad intensity) and frames peers as the comparison set, adding little beyond the schema's own wording.

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 opening states a specific trigger and verb: it is used when a user names a public company and asks how its growth, margin, R&D or marketing spend compares with competitors. It also names the sibling it is not (run_revenue_mix) for the adjacent question of revenue composition, so the agent can separate the two without a schema comparison.

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?

Explicit when-to-use criteria are given up front, along with the three input axes to vary (time window, comparison set, metric) and the note that each call is its own run. It also routes the agent elsewhere when the question is about revenue sources, and states the price tiers and that a failed run is not charged.

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