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

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

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 / 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."
  2. 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."
  3. 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"
      +}
  4. 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"
      +]
  5. First observed

TDQS

A4.3/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 the safety profile is covered. The description goes further by disclosing the return shape and ordering (segment, status, labels, monthly AI searches, mention counts), which is real context beyond the annotations.

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 waste: the first front-loads what is returned and in what order, the second handles routing to siblings. Nothing is redundant or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need not be spelled out, yet the description summarizes them helpfully. With annotations covering safety and a fully documented schema, an agent has everything needed to call this correctly.

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 every parameter (to, from, brand, limit, cursor, status, segment) is already documented with defaults, formats, and pagination behavior. The description adds nothing about parameter usage; the fields it lists (segment, status, labels, searches) describe output rather than inputs, so baseline 3 applies.

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?

States a specific verb+resource (brand's tracked prompts) and immediately disambiguates with sort order (highest AI search demand first) and the fields returned. It is clearly distinguished from siblings suggest_prompts and save_prompt, which are named.

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?

Explicitly says the tool is for finding a prompt_id for list_answers, and names suggest_prompts and save_prompt as the creation-path alternatives. That covers when to use it and which siblings do the adjacent jobs, though it doesn't state when-not to use it (e.g., versus list_answers' own filtering).

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