Skip to main content
Glama

List spec endpoints

list_endpoints
Read-only

List all endpoints from a stored API spec with method, path, and summary. Use this before writing test code to see valid endpoints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specIdYesID of the saved spec to list endpoints from

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
specIdYes
baseUrlYes
endpointsYes
endpointCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, non-destructive and closed-world, so the safety profile is covered. The description usefully adds that it reads from a 'stored' spec and what fields come back, but says nothing about result size, pagination, or behavior for very large specs. Adequate but not rich against the already-covered 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 short sentences, zero filler, with the scope and returned fields front-loaded ahead of the usage cue. Every clause earns its place.

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 single-parameter, read-only list tool with an output schema and safety annotations, the description covers enough to invoke it correctly without describing return values. The one residual gap is sibling disambiguation against get_spec, which the description never addresses.

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 coverage is 100% and the sole specId parameter is fully documented in the schema, so the schema does the heavy lifting. The description restates the source ('a stored API spec') but adds no format, sourcing, or lookup hints beyond that. Baseline 3 applies.

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 a specific verb and resource ('List all endpoints from a stored API spec') and even names the returned fields (method, path, summary), so the operation is unambiguous. However, it does not distinguish itself from the sibling get_spec, which plausibly also surfaces endpoint information, leaving the agent to infer the split.

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?

'Use this before writing test code to see valid endpoints' gives a concrete trigger condition tied to the surrounding workflow. It stops short of naming alternatives or when-not-to-use cases (e.g., use get_spec for a single endpoint's detail), so it is clear context without exclusions.

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