Skip to main content
Glama

Specway API Library

Get an endpoint

specway_get_endpoint
Read-onlyIdempotent

Everything needed to call one endpoint: method, path, base URL, parameters, request body and responses with their schemas, authentication, and the docs page URL.

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": {
      "endpoint_id": "<endpoint_id>"
    },
    "name": "specway_get_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoThe docs site, exactly as specway_find_api returned it (for example "stripe").
endpoint_idYesFrom specway_list_endpoints, exactly as returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and with no output schema the description takes on the return-value burden — it does so well by enumerating exactly what comes back, including authentication details and the docs URL. It does not mention what happens when the endpoint_id or site is unknown, which is the remaining gap.

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?

A single sentence, front-loaded with the payoff ("Everything needed to call one endpoint") followed by a compact colon-delimited enumeration. There is no filler and nothing could be removed without losing information.

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 two-parameter read-only lookup with complete schema coverage and full annotations, the description supplies what structured fields cannot: the shape of the payload the agent will receive. Missing only edge-case behavior (not-found handling, whether site is optional/inferred), which is minor at this complexity.

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 description coverage is 100% and both parameters are documented there with provenance hints ("exactly as specway_find_api returned it"), so the schema carries the load. The description adds no meaning about endpoint_id or site beyond what the schema already states; baseline 3 applies.

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?

"Everything needed to call one endpoint" with an explicit enumeration of returned artifacts (method, path, base URL, parameters, body, responses, auth, docs URL) makes the purpose unmistakable: fetch the full callable spec for a single endpoint. It is distinguishable in spirit from list_apis/list_endpoints by the singular "one endpoint", but it never names a sibling to contrast with, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use or when-not-to-use guidance and names no alternative. The only routing hints ("from specway_list_endpoints", "as specway_find_api returned it") live in the input schema, not the description, so an agent reading the description alone gets no workflow instruction.

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