Skip to main content
Glama

list_prompts

Read-only

List the tracked AI-visibility prompts for a project or client, each with pooled visibility over a recent window (mentioned runs ÷ total runs), run counts and the engines that ran it, plus namedMeasured / namedNotCited (answers that named the brand with readable sources, and of those how many cited no page on the client's own domains). Takes projectId or clientId. Returns totalAvailable + truncated when capped. competitor adds per prompt answers tracking it, naming it and, of those, omitting the brand (competitorNotBrandRuns of competitorTrackedRuns), largest first, pooled in competitorGap.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoCase-insensitive substring filter on the prompt text.
daysNoStats window in days (default 30, max 180).
marketNoOnly the prompts of one market, as a locale ("de-DE", "en-US", "de"); the result's markets block lists them. Omit for every market.
clientIdNoClient id — uses the AI-Visibility project its Overview opens in the app (the newest).
projectIdNoAI-Visibility project id.
activeOnlyNoOnly active prompts (default true). false also lists paused prompts (active: false), whose stored answers are kept.
competitorNoOne tracked competitor, as the project lists it: adds per prompt the answers that track it (competitorTrackedRuns, the denominator), those naming it (competitorNamedRuns) and of those the answers not naming the brand (competitorNotBrandRuns), sorted by the latter, with the pooled counts in competitorGap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / competitor
      Added value: +{
      +  "description": "One tracked competitor, as the project lists it: adds per prompt the answers that track it (competitorTrackedRuns, the denominator), those naming it (competitorNamedRuns) and of those the answers not naming the brand (competitorNotBrandRuns), sorted by the latter, with the pooled counts in competitorGap.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description goes beyond that by disclosing that results are capped ('Returns totalAvailable + truncated when capped') and that activeOnly defaults to true with paused prompts retaining stored answers. It also explains that metrics are pooled over a window with explicit numerator/denominator semantics, which is real behavioral context not present in the annotations.

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 purpose is front-loaded and no sentence is pure filler, but the body is a dense run-on packed with internal metric jargon (namedMeasured / namedNotCited, competitorNotBrandRuns of competitorTrackedRuns) that is slow to parse. The information is appropriate in volume for a seven-parameter scored tool yet would benefit from being broken into scannable structure.

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 takes on the burden of explaining return values and does so: per-prompt visibility, run counts, engines, the namedMeasured/namedNotCited pair, totalAvailable and truncated, plus the competitorGap block. Only minor gaps remain, such as default page size and how q interacts with the window, which are insufficient to block a correct call.

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%, so the schema already carries the meaning of all seven parameters, and the description largely restates them ('Takes projectId or clientId'). It does add value by specifying that competitor results are sorted 'largest first' and pooled in competitorGap, which is ordering behavior absent from the schema, but that is a narrow addition against a fully documented schema.

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?

The description opens with a specific verb and resource: 'List the tracked AI-visibility prompts for a project or client,' and immediately enumerates the computed payload (pooled visibility, run counts, engines, namedMeasured/namedNotCited). The word 'tracked' implicitly separates it from suggest_prompts and translate_prompts, but no sibling is named, so an agent must infer the routing.

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 context is implied rather than stated: it takes projectId or clientId, and the market param says 'Omit for every market,' which is parameter-level guidance, not when-to-use guidance. There is no explicit 'use this instead of X' or when-not-to-call statement, leaving the agent to infer that this is the read path for already-tracked prompts.

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