Skip to main content
Glama

List Responses Tool

list-responses-tool
Read-onlyIdempotent

List the AI responses collected for a project, newest first. Returns up to 50 per page; follow nextCursor to fetch additional pages. Optionally pass prompt_id to return only the responses for a single prompt, or source_url_id to return only the responses that cite a given source URL. Pass include to load parent chains (prompt, monitor, project, organization). Brand mentions and citations are not embedded; query /v1/brand-mentions and /v1/citations separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoOpaque pagination cursor. Omit on the first call; pass the `nextCursor` value from the previous response to fetch the next page.
includeNoOptional comma-separated related resources to include in the response. Whitelisted: `prompt`, `prompt.monitor`, `prompt.monitor.project`, `prompt.monitor.project.organization`, `monitor`, `monitor.project`, `monitor.project.organization`, `project`, `project.organization`.
prompt_idNoOptional filter. Only return responses for this prompt.
project_idYesThe numeric id of the project whose responses should be listed.
source_url_idNoOptional filter. Only return responses that cite this source URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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), so the description is freed to add runtime behavior: newest-first ordering, a 50-per-page cap, and the `nextCursor` follow-up mechanism. It also discloses what is NOT returned inline (brand mentions, citations). No contradictions with 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?

Front-loaded with the primary action and ordering, then pagination, then filters, then the cross-reference caveat. Every sentence carries distinct information with no redundancy.

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?

For a read-only list tool with no output schema, the description covers ordering, page size, pagination continuation, filter options, include semantics, and cross-resource redirection. It is nearly complete, though it could note whether responses include citation/brand-mention ids to link back to the separate endpoints.

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 the baseline is 3, but the description adds meaning beyond it: it clarifies that `prompt_id` and `source_url_id` are filters, and that `include` loads parent chains (prompt, monitor, project, organization). That parent-chain explanation enriches the include parameter beyond the schema's enum-style list.

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 and resource ("List the AI responses collected for a project") plus the default ordering (newest first), which distinguishes it from the singular get-response-tool. It also explicitly separates itself from list-brand-mentions-tool and list-citations-tool by noting those resources are not embedded.

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: pass `prompt_id` for a single prompt's responses, `source_url_id` for responses citing a URL, and query the brand-mentions/citations endpoints for those related resources. No explicit "when not to use" or pointer to get-response-tool for single fetches, so it falls 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