Skip to main content
Glama

find_endpoints

List and filter a spec's operations by path glob, HTTP method, tag, or text to locate relevant endpoints quickly before linting, diffing, or validating payloads.

Instructions

List operations of a spec, optionally filtered. path_glob uses * and ? (e.g. '/pets/*'), method is get/post/..., tag is an exact tag name, text is a case-insensitive substring searched in path, operationId, summary, description and tags. Filters combine with AND.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "spec": "<spec>"
    },
    "name": "find_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
specYes
textNo
methodNo
path_globNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that filters combine with AND and how each filter matches, implying a read-only listing, but it does not state permissions, behavior on an unknown spec, or result ordering/limits. Output schema exists, so return shape need not be explained.

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, front-loaded with the purpose, then a compact per-parameter breakdown. No redundant restatement and nothing that fails to earn 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 five-parameter filtered-list tool with an output schema, the description covers all filter semantics and their combination. The remaining gap is what the required "spec" argument accepts (path, URL, or identifier) and error behavior, which the schema leaves at zero description coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates: it gives glob syntax with * and ? and an example, the method value set, exact-match semantics for tag, and the exact fields searched case-insensitively by text, plus AND combination. This is meaning far beyond the bare schema.

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?

"List operations of a spec, optionally filtered" states a specific verb (list) and resource (operations of a spec), which distinguishes it from describe_operation and spec_overview. It is clear but does not explicitly contrast itself with those siblings.

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?

Usage is implied by "optionally filtered" and the filter descriptions, but there is no explicit when-to-use vs when-not guidance and no named alternative for retrieving a single operation's details (which describe_operation apparently covers).

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