Skip to main content
Glama

Specway API Library

Get an API's docs site

specway_get_site
Read-onlyIdempotent

One docs site: its name, description, docs URL and the APIs on it, each with its api_id, base URL and endpoint count.

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_get_site"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety and idempotency profile is covered structurally. The description contributes the return shape (which fields and the nested API entries), which is genuine added context. It says nothing about failure behavior when a site name is unknown, so it stops short of rich behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence fragment with zero filler, front-loaded with the resource being retrieved. It is efficient, though being a fragment with no verb makes it read more like a return-type note than a tool instruction.

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 must carry the return-value burden, and it does: it lists the site fields and the per-API fields a caller receives. For a one-parameter read tool this is largely sufficient; only error/empty-result behavior is left unstated.

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 the schema already explains the single `site` parameter including a concrete example ("stripe"). The description adds no additional meaning about the parameter — its field list describes the response, not the input — so the baseline of 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?

The description names the resource precisely ("One docs site") and enumerates its contents — name, description, docs URL, and the APIs with api_id, base URL and endpoint count. That is a clear picture of what a caller gets back. It does not, however, distinguish this from the near-identically named sibling specway_get_docs_site, leaving a real ambiguity unresolved.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives among the many siblings (specway_get_docs_site, specway_list_apis, specway_find_api). The only routing hint anywhere is in the parameter schema ("exactly as specway_find_api returned it"), not in the description itself.

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