Skip to main content
Glama

list_endpoints

Read-onlyIdempotent

Lists API endpoints and guides grouped by section, with endpoint counts for large APIs; pass a section to browse one section and target docs by locale or project.

Instructions

List the API's endpoints and guides, grouped by section. A large API lists its sections with endpoint counts instead: pass section to list one of them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage to read the docs in, as a language tag such as `fr` or `pt-BR`. Optional: defaults to the docs' source language. list_endpoints names the languages these docs are published in.
sectionNoOnly the sections whose name contains this text
projectIdNoProject to read. Optional: defaults to the project this server was started with. Only pass it to target a different project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • addedInput schema / properties / locale
      Added value: +{
      +  "description": "Language to read the docs in, as a language tag such as `fr` or `pt-BR`. Optional: defaults to the docs' source language. list_endpoints names the languages these docs are published in.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv1.4.2
    • changedInput schema / properties / projectId / description
      Previous value: -"Project to read. Optional — defaults to the project this server was started with. Only pass it to target a different project."New value: +"Project to read. Optional: defaults to the project this server was started with. Only pass it to target a different project."
    • changedInput schema / properties / section / description
      Previous value: -"Filter by section/tag name"New value: +"Only the sections whose name contains this text"
  3. First observedv1.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so the safety profile is covered. The description adds genuinely non-obvious behavior: the response shape changes with API size, returning sections with endpoint counts rather than a flat endpoint list for large APIs. That conditional behavior is not derivable from any structured field.

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, no filler, with the primary behavior stated first and the large-API caveat second. Every clause carries information an agent needs.

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?

With no output schema, the description carries the burden of explaining return values, and it does describe the two possible result shapes. It could say more about what an individual endpoint or guide entry contains, but the essential calling information is present.

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%, so all three parameters are self-documenting and the baseline is 3. The description slightly extends `section` by explaining that it selects one of the section entries returned for a large API, but it adds nothing beyond the schema for `locale` or `projectId`.

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 names a specific verb and resource ('List the API's endpoints and guides') plus the organizing principle ('grouped by section'), so the agent knows exactly what comes back. It does not contrast itself against siblings such as get_endpoint, search_docs, or get_guide, so it stops short of full differentiation.

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?

There is real guidance in the second sentence: for large APIs the default listing degrades to section summaries, and `section` narrows to one section. That tells the agent how to react to the two response modes, but it never states when to prefer get_endpoint/get_guide/search_docs instead, so the guidance is implied rather than explicit.

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