Skip to main content
Glama

List AI answers

list_ai_answers
Read-only

List and filter AI answers newest first by app, engine, country, prompt, tone, outcome, or cited domain to track competitor mentions and app visibility.

Instructions

The answers, newest first: id, date, engine, country, prompt_id (texts in prompts), named and rank (absent when the question names the app: see named_in_prompt), apps (the app and competitors named, in order), own_page_cited, store_page_cited, tone (toward the app, or app), search (web/memory), declined. E.g. where ChatGPT recommends a competitor and not the app: engine=chatgpt, app=, outcome=missing. Full text: get_ai_answer. 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_answers"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoText in the prompt
appNoAnswers naming this app or competitor
endNoLast day, YYYY-MM-DD (default today)
daysNoDays in the window (default 7)
pageNo
toneNo
domainNoAnswers citing this host
engineNoDefault both
countryNoOne market, ISO code (default all)
outcomeNoWhether it names the app, or cites its pages
categoryNo
per_pageNoDefault 20
ai_app_idYesid from list_ai_visibility_apps
prompt_idNo
search_modeNoChatGPT only

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so the trailing "Read-only." adds nothing. The description does add real behavioral context beyond annotations: results are ordered newest first, prompt_id references texts in a separate `prompts` collection, and named/rank are absent when the prompt names the app. It says nothing about pagination, total counts, or result limits across the 15 parameters.

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 text is dense and information-rich with little filler, but it is not front-loaded: the opening clause is a bare field list rather than a statement of what the tool does. The trailing "Read-only." is redundant with annotations and could be cut, and the heavy parenthetical nesting makes the field semantics harder to scan than necessary.

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?

Given 15 parameters and no output schema, the description usefully enumerates the returned fields in place of a missing return-value contract, which is the right compensation. Gaps remain around pagination behavior (page/per_page defaults live only in the schema) and the precise meaning of fields like `rank`, `declined`, and the tone `app` value, but nothing critical for correct invocation is missing.

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?

With 73% schema description coverage, the schema already documents most parameters, so a 3 is the baseline. The description contributes meaning mainly through the concrete filter example that ties engine, app, and outcome together, and through clarifying that `named`/`rank` can be absent; it does not explain filters the schema leaves thin, such as how tone, domain, or category interact or how they combine with the default 7-day window.

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 makes clear this returns a list of AI answers (newest first) and contrasts itself with get_ai_answer for full text, so an agent can distinguish it from the single-answer sibling. However, it never states the purpose in a leading verb+resource sentence; it opens with a field enumeration, so the purpose must be inferred from the name plus the field list.

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 shown only through a worked example ("where ChatGPT recommends a competitor and not the app: engine=chatgpt, app=<competitor>, outcome=missing") and the pointer to get_ai_answer for full text. There is no explicit statement of when to choose this over get_ai_visibility, get_ai_sentiment, or get_ai_citations, and no exclusions are given.

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