Skip to main content
Glama

List AI prompts

list_ai_prompts
Read-only

Retrieve an app's tracked AI prompts with visibility percentages and per-engine outcomes, filtered by market, category, status, and date window. Read-only access.

Instructions

The app's prompts, each asked to ChatGPT and Gemini daily in one market: id, text, country, lang, category, status (active, paused, paused_by_plan), and over the window answers, visibility (% naming the app), latest outcome per engine. Managed in the Applyra dashboard only. Read-only.

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": {
      "ai_app_id": "<ai_app_id>"
    },
    "name": "list_ai_prompts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoText in the prompt
endNoLast day, YYYY-MM-DD (default today)
daysNoDays in the window (default 7)
pageNo
engineNoDefault both
statusNo
countryNoOne market, ISO code (default all)
outcomeNoNamed in at least one answer of the window, or in none
categoryNo
per_pageNoDefault 50
ai_app_idYesid from list_ai_visibility_apps

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds that prompts are dashboard-managed (no write path here) and defines what "visibility" means as the percentage of answers naming the app, plus that outcomes are per engine over the window. It stops short of stating pagination behavior or freshness of the daily collection, which are the remaining unknowns.

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?

A single front-loaded sentence puts the resource first and then the field list, with the dashboard-management and read-only caveats trailing as a separate short sentence. It is dense and run-on in the middle but every clause carries information; nothing is padded.

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 11 parameters and no output schema, the description does real work by enumerating the returned fields (id, text, country, lang, category, status, answers, visibility, latest outcome per engine), so the agent can anticipate the response shape. It does not cover pagination or query filters like q, but those are documented in the schema itself.

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 73%, so most parameters already carry their own descriptions; the description contributes the framing that country scopes to "one market" and that results are aggregated "over the window," which clarifies how days/end interact with the metrics. It also lists status values including paused_by_plan, which the schema enum omits (only active/paused), a minor mismatch that leaves the status filter partly ambiguous.

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 names the resource ("The app's prompts") and enumerates the returned fields, so an agent knows this is a read of AI prompt records with per-market daily tracking on ChatGPT and Gemini. It lacks an explicit verb like "List" and never contrasts itself with siblings such as list_ai_answers or get_ai_visibility, but the field inventory makes the scope distinguishable.

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?

"Managed in the Applyra dashboard only. Read-only." tells the agent this surface cannot mutate prompts and that creation/editing lives elsewhere, which is genuinely useful routing information. However, there is no explicit statement of when to call this versus list_ai_answers or get_ai_visibility, so selection guidance remains implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.