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

TableJSON 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, 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.
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

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
generated_atYesRFC 3339 time the response was made.
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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."
  2. 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."
  3. 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"
      +}
  4. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/openWorld, so the bar is lower. The description still adds genuine behavior: newest-first ordering, cross-model coverage in prompt mode, mention-in-context in brand mode, and the empty-result case for an unmentioned brand versus prompt_id always returning 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 resource and ordering, then the two modes in parallel. Dense but every clause carries meaning; the final 'while prompt_id shows a prompt's answers either way' clause is slightly tangled but resolves the empty-result ambiguity.

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 an output schema present, return values need not be explained. The description covers the mode switch, ordering, and the empty-result edge case — the pieces an agent needs to call it correctly and interpret results. Date-window and pagination constraints are left to the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description goes beyond the schema by explaining the interaction between brand and prompt_id — which parameter governs which result mode — rather than describing each field in isolation, which the schema already does.

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 the resource (AI answers) and the ordering (newest first), then precisely splits the tool into two modes keyed on prompt_id. This is specific and separable from siblings like get_answer (singular) and answer_page_questions, though the listing verb itself is only implied by the title.

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?

The core when-to-use decision is spelled out: pass prompt_id to get a prompt's answers across models, omit it to get answers mentioning the brand. No sibling tool is named as an alternative and no explicit exclusions are given, so it stops short of a 5.

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