Skip to main content
Glama

list_endpoints

List API endpoints with filters by method, path, or tag. Supports pagination and compact or full detail views.

Instructions

List API endpoints. Returns compact one-liners default (saves tokens). Use compact=false for full details. Supports pagination with limit/offset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
method_filterNoFilter by HTTP method (GET, POST, etc.)
path_prefixNoFilter by path prefix
tagNoFilter by tag
limitNoResults per page (default: 10)
offsetNoStarting index for pagination (default: 0)
compactNoIf true (default), return one-liner per endpoint. If false, return full JSON objects.
Behavior3/5

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

With no annotations, the description carries the burden. It reveals compact mode and pagination behavior, but does not discuss authentication needs, rate limits, or the exact output structure beyond one-liners vs full JSON.

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?

Three sentences with no filler. Purpose is stated first. Every sentence provides useful information (purpose, compact option, pagination).

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 simple listing tool with pagination and filtering, the description covers key aspects. It lacks details on the output format for full mode, but given low complexity and no output schema, it is adequate.

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 baseline is 3. The description adds value by explaining that compact mode saves tokens and that pagination is supported with limit/offset, reinforcing defaults and purpose.

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?

The description clearly states it lists API endpoints, with specific verb and resource. The name and mention of listing endpoints distinguish it from get_endpoint_details, but it doesn't explicitly differentiate from siblings like search_schema.

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 explains default compact mode for token saving and pagination options, but does not provide explicit guidance on when to use this tool versus alternatives like get_endpoint_details or search_schema.

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/fellowabhi/ControlAPI-openapi-to-mcp'

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