Skip to main content
Glama

CULT+MATH Decision Briefs

Which of these YouTube channels gets more views, and from what?

run_channel_benchmark
Read-onlyIdempotent

Use when the user is a creator or brand-partnership lead comparing channels: "how does my channel stack up against these three?", "who posts more Shorts and does it pay?", "which creator should we sponsor?". Returns, for each channel over the window, uploads per week, share of Shorts, median views for long-form and Shorts, median views per day, likes and comments per 1,000 views, and optionally how titles with your words perform. Public counts only; results cannot be published. Refuses before you are charged if a channel does not resolve. 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: one window of days; compare: channels (2-5); segment: format (Shorts, long-form); terms. 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 which topics on a subject get views across all channels, use run_topic_views.

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": {
      "channels": "<channels>"
    },
    "name": "run_channel_benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDays back from today. Default 90.
termsNoOptional: up to 4 title words to compare titles with and without them.
channelsYes2-5 channels, each an @handle (e.g. "@mkbhd") or a channel id starting UC.

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. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/open-world safety, but the description discloses the far more consequential behavior: calling returns a quote with a payment_url, the run only happens after a POST, a failed control check refuses with nothing charged, and pricing differs by rail ($0.05 x402 vs $0.50 MPP). It also flags licensing/return constraints (public counts only, not publishable; run id, date and citation on every result).

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?

Front-loaded with the trigger and sample questions, then output, then the quote/payment mechanics — a sensible order for a complex tool. It is long and the payment paragraph carries some compressed legal/commercial detail, but nearly every sentence conveys something an agent must know before calling.

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, two-phase, open-world tool this is essentially complete: what the run measures, what calling actually returns, how the run is triggered, what happens on failure, price by payment rail, and where the adjacent question belongs. The presence of an output schema means return-value details need not be restated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents handles, day ranges and term limits. The description adds meaning beyond that by framing the inputs as 'dimensions ... vary these inputs to cut the answer' and mapping them (over time = one window of days, compare = 2-5 channels, segment = Shorts/long-form, terms), which clarifies that these are axes of a single run rather than independent filters.

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?

States a concrete verb and resource (benchmark 2-5 YouTube channels over a window) and enumerates the exact metrics returned: uploads per week, Shorts share, median views for long-form and Shorts, views per day, likes/comments per 1,000 views. It explicitly names the sibling it is not ('For which topics on a subject get views across all channels, use run_topic_views'), so an agent can distinguish it without opening any 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?

Opens with an explicit trigger persona and three sample user phrasings, then closes with a named alternative (run_topic_views) for the adjacent question. It also explains that dimensions are varied by re-calling ('each call is its own run') rather than fanned out inside one call, which is the key usage decision for this tool.

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