Skip to main content
Glama

List answers

list_answers
Read-onlyIdempotent

AI answers, newest first. With prompt_id: that prompt's answers across models, with the brands they mention and recommend. Without: answers that mention the brand, with the mention in context; empty for a brand no answer mentions, while prompt_id shows a prompt's answers either way.

Input Schema

NameRequiredDescriptionDefault
toNoEnd date, YYYY-MM-DD, inclusive; from equal to to is a single day. Defaults to today; a later date is treated as today.
fromNoStart date, YYYY-MM-DD. Defaults to 30 days before to. Windows are at most 180 days and a from after today is refused; a plan with limited history serves only the days it keeps and says so in retention.
brandYesBrand or study: its ID from list_brands, or its name (exact or a unique prefix).
limitNoRows per page. Defaults to 25, max 100. A page may hold fewer rows to stay within the response size; follow next_cursor.
modelNoOptional model family: chatgpt, claude, gemini, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model. A family is exact: gemini does not include google-ai-mode or google-ai-overviews.
cursorNonext_cursor from the previous page. Leave out for the first page.
segmentNoOptional segment ID or name. get_brand_settings lists the brand's segments.
prompt_idNoA prompt ID from list_prompts. Leave out for answers mentioning the brand.

Output Schema

NameRequiredDescriptionDefault
dataYes
generated_atYesRFC 3339 time the response was made.
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Optional model family: chatgpt, claude, gemini, perplexity, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model. A family is exact: gemini does not include google-ai-mode or google-ai-overviews."New value: +"Optional model family: chatgpt, claude, gemini, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model. A family is exact: gemini does not include google-ai-mode or google-ai-overviews."
  2. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Optional model family: chatgpt, claude, gemini, perplexity, muse-spark, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model. A family is exact: gemini does not include google-ai-mode or google-ai-overviews."New value: +"Optional model family: chatgpt, claude, gemini, perplexity, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model. A family is exact: gemini does not include google-ai-mode or google-ai-overviews."
  3. Changed3 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Start date, YYYY-MM-DD. Defaults to 30 days before to; plan retention may shorten it."New value: +"Start date, YYYY-MM-DD. Defaults to 30 days before to. Windows are at most 180 days and a from after today is refused; a plan with limited history serves only the days it keeps and says so in retention."
    • changedInput schema / properties / model / description
      Previous value: -"Optional model family: chatgpt, claude, gemini, perplexity, muse-spark, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model."New value: +"Optional model family: chatgpt, claude, gemini, perplexity, muse-spark, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model. A family is exact: gemini does not include google-ai-mode or google-ai-overviews."
    • changedInput schema / properties / to / description
      Previous value: -"End date, YYYY-MM-DD. Defaults to today."New value: +"End date, YYYY-MM-DD, inclusive; from equal to to is a single day. Defaults to today; a later date is treated as today."
  4. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Optional model family: chatgpt, claude, gemini, perplexity, grok, muse-spark, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model."New value: +"Optional model family: chatgpt, claude, gemini, perplexity, muse-spark, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model."
  5. Changed11 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / brand / description
      Previous value: -"Brand ID or name. Required unless prompt_id is given."New value: +"Brand or study: its ID from list_brands, or its name (exact or a unique prefix)."
    • addedInput schema / properties / brand / minLength
      Added value: +1
    • changedInput schema / properties / cursor / description
      Previous value: -"next_cursor from the previous page."New value: +"next_cursor from the previous page. Leave out for the first page."
    • addedInput schema / properties / from / format
      Added value: +"date"
    • changedInput schema / properties / limit / description
      Previous value: -"Rows per page. Defaults to 25, max 100."New value: +"Rows per page. Defaults to 25, max 100. A page may hold fewer rows to stay within the response size; follow next_cursor."
    • changedInput schema / properties / model / description
      Previous value: -"Optional model filter."New value: +"Optional model family: chatgpt, claude, gemini, perplexity, grok, muse-spark, google-ai-overviews, or google-ai-mode, as the plan tracks them. Covers every version of the model."
    • changedInput schema / properties / prompt_id / description
      Previous value: -"Prompt ID from list_prompts."New value: +"A prompt ID from list_prompts. Leave out for answers mentioning the brand."
    • addedInput schema / properties / to / format
      Added value: +"date"
    • addedInput schema / required
      Added value: +[
      +  "brand"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "answers": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "brand_position": {
      +                "description": "Where the brand is first mentioned among brands, 1 = first; null when not mentioned.",
      +                "type": [
      +                  "null",
      +                  "integer"
      +                ]
      +              },
      +              "brands_mentioned": {
      +                "description": "Prompt view: tracked brands the answer mentions, in order. Empty in the brand_mentions view; get_answer has them.",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "captured_at": {
      +                "type": "string"
      +              },
      +              "citation_count": {
      +                "description": "Prompt view: sources the answer cites. 0 in the brand_mentions view.",
      +                "type": "integer"
      +              },
      +              "excerpt": {
      +                "description": "The mention in context, or the answer's opening.",
      +                "type": "string"
      +              },
      +              "id": {
      +                "description": "Answer ID for get_answer.",
      +                "type": "string"
      +              },
      +              "mentions_brand": {
      +                "type": "boolean"
      +              },
      +              "model": {
      +                "description": "Model family key.",
      +                "type": "string"
      +              },
      +              "model_name": {
      +                "type": "string"
      +              },
      +              "outcome": {
      +                "description": "Prompt view: how the answer treated the brand; empty until classified, and in the brand_mentions view.",
      +                "type": "string"
      +              },
      +              "prompt": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "recommended": {
      +                "description": "Prompt view: tracked brands the answer recommends. Empty in the brand_mentions view.",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "segment": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "name"
      +                ],
      +                "type": [
      +                  "null",
      +                  "object"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "prompt",
      +              "segment",
      +              "model",
      +              "model_name",
      +              "captured_at",
      +              "mentions_brand",
      +              "brand_position",
      +              "brands_mentioned",
      +              "recommended",
      +              "outcome",
      +              "excerpt",
      +              "citation_count"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "brand": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "id": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "description": "The brand's website, or empty when none is set.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        "notice": {
      +          "description": "Why the list is empty, when it is.",
      +          "type": "string"
      +        },
      +        "pagination": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "next_cursor": {
      +              "description": "Pass as cursor to get the next page; empty on the last page.",
      +              "type": "string"
      +            },
      +            "total": {
      +              "description": "Items across all pages; null when not counted.",
      +              "type": [
      +                "null",
      +                "integer"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "next_cursor",
      +            "total"
      +          ],
      +          "type": "object"
      +        },
      +        "period": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "from": {
      +              "description": "First day, YYYY-MM-DD.",
      +              "type": "string"
      +            },
      +            "to": {
      +              "description": "Last day, YYYY-MM-DD.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "from",
      +            "to"
      +          ],
      +          "type": "object"
      +        },
      +        "prompt": {
      +          "additionalProperties": false,
      +          "description": "Set in the prompt view.",
      +          "properties": {
      +            "id": {
      +              "type": "string"
      +            },
      +            "text": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "text"
      +          ],
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "view": {
      +          "description": "prompt: one prompt's answers. brand_mentions: answers that mention the brand.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "brand",
      +        "view",
      +        "prompt",
      +        "period",
      +        "answers",
      +        "pagination",
      +        "notice"
      +      ],
      +      "type": "object"
      +    },
      +    "generated_at": {
      +      "description": "RFC 3339 time the response was made.",
      +      "type": "string"
      +    },
      +    "schema_version": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "schema_version",
      +    "generated_at",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  6. Added

TDQS

A3.9/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/openWorld), so the bar is lower, and the description still adds real context: sort order, what each mode returns (brands mentioned/recommended vs mention in context), and the important edge-case semantics that one mode can be empty while the other still returns rows.

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?

Front-loads the core fact ('AI answers, newest first') before the two branches, and every clause carries information. The semicolon-joined final sentence is dense but not 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?

An output schema exists so return shapes needn't be explained, and the annotations plus rich schema cover safety and parameters. The description supplies the mode split, ordering, and empty-result behavior, leaving little an agent needs 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?

Schema description coverage is 100%, so the schema already documents every parameter (dates, limit, model, cursor, segment, prompt_id). The description reinforces prompt_id's mode-switching role but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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+resource (list AI answers) with ordering ('newest first') and then splits the tool into two clearly-scoped modes keyed on prompt_id. This lets an agent understand behavior well, though it never explicitly names siblings like get_answer or list_citations to sharpen the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear conditional guidance: with prompt_id you get a prompt's answers across models; without it you get answers mentioning the brand. The 'either way' clause on the empty case tells the agent when each mode still yields results, but no explicit alternatives or exclusions are named.

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