Skip to main content
Glama

List prompts

list_prompts
Read-onlyIdempotent

The brand's tracked prompts, highest AI search demand first, with segment, status, labels, monthly AI searches, and how many answers in the period mentioned the brand. Use it to find a prompt_id for list_answers; suggest_prompts proposes new prompts and save_prompt adds them.

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.
cursorNonext_cursor from the previous page. Leave out for the first page.
statusNoOptional filter.
segmentNoOptional segment ID or name. get_brand_settings lists the brand's segments.

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
    • changedOutput schema / properties / data / properties / prompts / items / properties / status / description
      Previous value: -"active prompts run on Mondays, Wednesdays and Fridays; paused ones do not."New value: +"active prompts run daily; paused ones do not."
  2. 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 / 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."
    • changedOutput schema / properties / data / properties / prompts / items / properties / monthly_ai_searches / description
      Previous value: -"Estimated monthly AI searches for the question; null when unknown."New value: +"Estimated monthly AI searches for the question; null until the hourly demand lookup has run for it, or when none was found."
  3. Changed1 schema field changed
    • changedOutput schema / properties / data / properties / prompts / items / properties / status / description
      Previous value: -"active prompts run daily; paused ones do not."New value: +"active prompts run on Mondays, Wednesdays and Fridays; paused ones do not."
  4. Changed7 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • 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."
    • addedInput schema / properties / to / format
      Added value: +"date"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "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"
      +        },
      +        "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,
      +          "description": "The period answers_mentioning_brand counts.",
      +          "properties": {
      +            "from": {
      +              "description": "First day, YYYY-MM-DD.",
      +              "type": "string"
      +            },
      +            "to": {
      +              "description": "Last day, YYYY-MM-DD.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "from",
      +            "to"
      +          ],
      +          "type": "object"
      +        },
      +        "prompts": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "answers_mentioning_brand": {
      +                "description": "Answers in the period that mentioned the brand.",
      +                "type": "integer"
      +              },
      +              "category": {
      +                "type": "string"
      +              },
      +              "created_at": {
      +                "type": "string"
      +              },
      +              "funnel_stage": {
      +                "type": "string"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "intent_type": {
      +                "type": "string"
      +              },
      +              "last_mentioned_at": {
      +                "type": "string"
      +              },
      +              "last_run_at": {
      +                "type": "string"
      +              },
      +              "monthly_ai_searches": {
      +                "description": "Estimated monthly AI searches for the question; null when unknown.",
      +                "type": [
      +                  "null",
      +                  "integer"
      +                ]
      +              },
      +              "replaces_prompt_id": {
      +                "description": "The prompt this one replaced when its text changed; its answers are that prompt's history.",
      +                "type": "string"
      +              },
      +              "segment": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "status": {
      +                "description": "active prompts run daily; paused ones do not.",
      +                "type": "string"
      +              },
      +              "tags": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "text": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "text",
      +              "status",
      +              "segment",
      +              "tags",
      +              "category",
      +              "intent_type",
      +              "funnel_stage",
      +              "monthly_ai_searches",
      +              "answers_mentioning_brand",
      +              "last_mentioned_at",
      +              "last_run_at",
      +              "replaces_prompt_id",
      +              "created_at"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "brand",
      +        "period",
      +        "prompts",
      +        "pagination"
      +      ],
      +      "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"
      +}
  5. Changed12 schema fields changed
    • addedInput schema / properties / brand
      Added value: +{
      +  "description": "Brand or study: its ID from list_brands, or its name (exact or a unique prefix).",
      +  "type": "string"
      +}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "next_cursor from the previous page.",
      +  "type": "string"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Start date, YYYY-MM-DD. Defaults to 30 days before to; plan retention may shorten it.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Rows per page. Defaults to 25, max 100.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / project_id
      Removed value: -{
      -  "description": "Cleotic project ID.",
      -  "type": "string"
      -}
    • removedInput schema / properties / project_name
      Removed value: -{
      -  "description": "Project name. Exact case-insensitive names and unique prefixes are supported.",
      -  "type": "string"
      -}
    • addedInput schema / properties / segment
      Added value: +{
      +  "description": "Optional segment ID or name. get_brand_settings lists the brand's segments.",
      +  "type": "string"
      +}
    • removedInput schema / properties / segment_id
      Removed value: -{
      -  "description": "Segment ID.",
      -  "type": "string"
      -}
    • removedInput schema / properties / segment_name
      Removed value: -{
      -  "description": "Segment name within the project.",
      -  "type": "string"
      -}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Optional filter.",
      +  "enum": [
      +    "active",
      +    "paused"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "End date, YYYY-MM-DD. Defaults to today.",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "brand"
      +]
  6. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds non-obvious behavior the annotations don't: the demand-based sort order and the fact that mention counts are scoped to the requested period. It does not add auth or rate-limit context, but the annotation baseline lowers that burden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler. The resource and ordering come first, the routing guidance second, and nothing is repeated from the schema or annotations.

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 and pagination fully described in-schema (limit/cursor/next_cursor), the description covers the remaining agent-relevant context: sort order, period scoping of the mention count, and downstream tool routing. The only mild redundancy is enumerating return fields that the output schema already defines.

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% and the seven parameters (to, from, brand, limit, cursor, status, segment) are each documented in-schema, so the schema carries the parameter burden. The description references the period and segment dimensions only indirectly and adds no syntax or format detail beyond the schema — the baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (the brand's tracked prompts), states the ordering ('highest AI search demand first'), and enumerates the returned fields (segment, status, labels, monthly AI searches, brand mentions). An agent can distinguish this from list_answers, suggest_prompts, and save_prompt without opening any schema.

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?

It explicitly routes the agent: use this to obtain a prompt_id for list_answers, while suggest_prompts proposes and save_prompt persists. That covers the primary selection decision against the closest siblings, though it states no exclusion conditions or prerequisites (e.g., brand must already be set up).

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