Skip to main content
Glama

AEO Visibility

Discover ranking prompts

discover_ranking_prompts
Read-onlyIdempotent

Generate realistic user prompts a site should aim to be cited for on a topic, using Perplexity Sonar. Optionally tests a few of them for live visibility.

Input Schema

NameRequiredDescriptionDefault
urlYes
topicYesThe topic / niche to generate prompts for.
testCountNoHow many generated prompts to live-test (default 3).
perplexityApiKeyYesYour Perplexity API key (BYOK). Request-scoped; never stored or logged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's real contribution is disclosing the external dependency on Perplexity Sonar and the optional live-test phase that reaches out to a third-party model. That is meaningful context an agent would not infer from annotations, though it omits cost/latency implications of BYOK calls and does not flag that live-test results vary (mild tension with idempotentHint=true).

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?

Two sentences, front-loaded with the core generation action, and the optional test capability is scoped to a trailing clause. No filler; the only minor weakness is that the trailing clause is vague about what 'a few' means relative to testCount.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of explaining what comes back — presumably a list of prompts plus some test results — and it never does, leaving the shape of the return value and the number of prompts generated unspecified. Four parameters, three required, with an external API call; that is enough complexity that the omission is a real gap, even with annotations covering safety.

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 75%, and the schema already documents topic, testCount (default 3, max 10), and perplexityApiKey. The description adds only indirect meaning for `url` by framing generation around 'a site' — enough to infer it is the site whose prompts are being generated, but not enough to lift this above the baseline.

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?

States a specific verb and artifact: generate realistic user prompts a site should be cited for, plus an optional live-test step. An agent can tell this is prompt discovery rather than a visibility report, but the description never names the siblings (check_ai_visibility, analyze_website_aeo) it overlaps with on the 'live test' clause.

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: the phrase 'Optionally tests a few of them for live visibility' suggests when to raise testCount, and the framing (a site wanting to be cited) hints at an early-stage discovery use case. There is no explicit when-to-use/when-not, no routing to check_ai_visibility for pure visibility measurement, and no mention of setup prerequisites beyond the API key.

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.