Skip to main content
Glama

list_endpoints

Retrieve known router API endpoints for raw requests, optionally filtered by form path or purpose substring such as 'dhcp' or 'wireless'.

Instructions

Known API endpoints for raw_request: [{form_path, operations, purpose, read_safe}]. Optionally filter to form paths/purposes containing a substring (e.g. 'dhcp', 'wireless').

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
containsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description does the heavy lifting by disclosing the returned fields, including read_safe — a per-endpoint safety signal that tells the agent which raw calls are safe reads. It doesn't explicitly state the tool itself has no side effects or discuss call cost, but the catalog nature and read_safe field convey the important behavioral context.

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: the first declares the catalog and its fields, the second covers the optional filter. The purpose and the key field list are front-loaded with zero filler.

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 one-optional-parameter discovery tool with an output schema, this is close to complete — the returned fields are enumerated and the filter behavior is explained. Missing is the explicit workflow instruction to consult results before issuing raw_request, which would fully close the loop.

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 0% and the single 'contains' parameter has no description, so the description must carry the burden — and it does: it explains the filter matches substrings against form paths OR purposes and gives two concrete examples. Only case-sensitivity and whether matching is on the full form_path string are left unstated.

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?

It names the resource (API endpoint catalog) and explicitly ties it to the sibling tool raw_request, which distinguishes it from the other router tools. The framing is a noun phrase rather than a verb, but the function — discover endpoints usable with raw_request — is unambiguous.

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 tie to raw_request implies this is a discovery step before making raw calls, and the filter examples ('dhcp', 'wireless') show how to narrow the list. However, it never states when to reach for this versus calling raw_request or a dedicated sibling like dhcp_leases directly, nor any prerequisite ordering.

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