Skip to main content
Glama

Specway API Library

List endpoints

specway_list_endpoints
Read-onlyIdempotent

The endpoints of one API on a docs site (or of every API on a small site): endpoint_id, method, path and summary. query filters by words in the path or summary. 100 per page; page with offset.

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": "specway_list_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoThe docs site, exactly as specway_find_api returned it (for example "stripe").
queryNoOptional words to match in the path or summary, like "refund".
api_idNoFrom specway_get_site. Optional when the site has one API.
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, and the description adds the payload shape (endpoint_id, method, path, summary) and paging contract (100 per page, offset). It stops short of stating ordering, total counts, or what an empty query result looks like.

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 compact sentences, front-loaded with what the tool returns, then filtering, then pagination. No filler or repetition of the title.

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 compensates by naming the returned fields, and it documents the paging model. Minor gaps remain around result ordering and whether a query-only call still requires site, but an agent has enough to call it correctly.

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 75% and the description mostly restates schema text for query while adding the genuinely new detail that paging is 100 per page via offset — the one parameter with no schema description. The site and api_id semantics (provenance, optionality) are left entirely to the 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?

States a specific verb and resource ('The endpoints of one API on a docs site') and clarifies the alternate scope (every API on a small site), plus enumerates the fields returned. It implicitly separates itself from specway_list_apis and specway_get_endpoint, though it never names a sibling to route against.

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?

Gives implied usage through the api_id note ('Optional when the site has one API') and explains what query does, but never states when to call this versus specway_get_endpoint for a single endpoint or specway_list_apis for the catalog. No exclusions are offered.

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