Skip to main content
Glama

List Response Components

list_response_components
Read-only

Retrieve reusable response components for an API spec version. Include usage counts to see how often each component is referenced.

Instructions

List the reusable response components of a spec version. Set includeUsageCounts to see how often each one is referenced. Requires project context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specIdYesPublic ID (GUID) of the API specification
versionIdNoOptional version ID (GUID) to filter by a specific version
includeUsageCountsNoAlso return how often each component is referenced (default false)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.1

TDQS

A4/5.0
Behavior3/5

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

The annotation readOnlyHint=true is consistent with the 'list' action. The description adds no extra behavioral detail (e.g., pagination, sorting), but given the annotation coverage, the baseline is acceptable.

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?

The description is concise, two sentences, with no unnecessary words. It front-loads the primary action and resource, then adds the optional parameter behavior.

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?

The tool is simple and has no output schema. The description covers the essential purpose and parameter behavior. It lacks details about response format or pagination, but these are not critical for such a straightforward list operation.

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% and each parameter has a clear description (e.g., specId as 'Public ID (GUID)', versionId as 'Optional version ID...', includeUsageCounts as 'Also return how often...'). The descriptions add practical meaning beyond the raw schema.

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 clearly states the action ('List'), the resource ('reusable response components'), and the scope ('of a spec version'). This distinguishes it from sibling tools like list_header_components and list_request_body_components.

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

Usage Guidelines3/5

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

The description provides a hint about the includeUsageCounts parameter but does not explicitly state when to use this tool over alternatives like list_shared_responses or list_shared_schemas. The purpose is clear but the usage context is implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/routebase-dev/routebase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server