Skip to main content
Glama

CULT+MATH Decision Briefs

Do this question’s Google winners also win the AI answer?

run_search_vs_ai
Read-onlyIdempotent

Use when the user is deciding between SEO and AI-visibility (GEO) work, or asks whether ranking in Google gets them cited by ChatGPT, Claude, Gemini or Perplexity: "we rank #2 on Google, why don’t AI answers cite us?". Returns Google’s top 10 organic domains for one question, how many of them four AI assistants cite across eight answers, the domains only the AI cites (the sources to earn coverage in), and, if a domain is given, its Google rank and AI citation count. Refuses before you are charged if either side cannot be measured. 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 moment; re-run to build a series; segment: question. Price: $0.74 per run over x402 (USDC on Base, no account needed), or $1.06 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For who owns the answers across a whole category, use run_answer_share.

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": {
      "question": "<question>"
    },
    "name": "run_search_vs_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoOptional: your domain, to see where it stands in both.
questionYesThe question as a buyer would type or ask it.

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.7/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; the description adds the material behavior an agent cannot infer: the call returns a quote (measurement scope, price, payment_url) rather than the result, the run only happens on POST, failures refuse with nothing charged, and pricing is $0.74 via x402 or $1.06 via MPP. That payment/refusal semantics is the highest-value disclosure here. Minor tension: "each call is its own run; re-run to build a series" sits slightly awkwardly next to idempotentHint=true, though since the call itself only returns a quote this is a nuance rather than a contradiction.

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, but the body is a single dense paragraph that mixes what the tool measures, payment protocol detail, and output metadata. The "Dimensions (vary these inputs to cut the answer): over time: one moment; re-run to build a series; segment: question" fragment is telegraphic and reads as boilerplate rather than usable guidance.

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, open-world run-based tool this covers everything an agent needs before invoking: what is measured, what is returned, that a quote precedes the charge, that controls can refuse at no cost, and the price of both payment rails. With an output schema present, it correctly does not restate return-value shapes.

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% and both params are already documented, so the baseline is 3. The description adds real meaning on top: it clarifies that exactly one question is measured per run, and that supplying `domain` yields that domain's Google rank and AI citation count — an output consequence the schema's "see where it stands in both" does not spell out.

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 comparison (Google top-10 organic domains vs. how many of them four AI assistants cite across eight answers) for a single question, and it explicitly carves out the sibling case: "For who owns the answers across a whole category, use run_answer_share." An agent can tell this apart from run_answer_share/run_share_of_search 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?

It gives an explicit trigger ("Use when the user is deciding between SEO and AI-visibility (GEO) work, or asks whether ranking in Google gets them cited...") backed by a quoted user utterance, which is exactly the phrasing an agent would match on. It also names the alternative tool and the condition that selects it, satisfying the when-not requirement.

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