Skip to main content
Glama
interhub

nana800-mcp-server

Official
by interhub

scheme_get_swagger_json

Retrieves an OpenAPI 3 document for a scheme's webhooks, detailing paths, methods, params, request fields, and responses, with broken webhooks and reasons listed.

Instructions

Get the OpenAPI 3 document of the scheme webhooks, built from the current blocks: the base URL, every webhook path and method, path params, the query, header and body fields the connected blocks read, and the answers of the connected response blocks. Webhooks that get no requests (empty or wrong path, wrong method, taken by an earlier webhook) are listed in x-nana800-broken-webhooks with the reason. Block secrets are masked for project readers

Input Schema

NameRequiredDescriptionDefault
scheme_idNoThe unique ID of the scheme (uses MCP_SCHEME_ID env if not provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

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 carries the full load and does well: it discloses that the doc is built from *current* blocks (so it reflects live state), that unreachable webhooks are reported under x-nana800-broken-webhooks with reasons, and that secrets are masked for project readers. It does not state required permissions or error behavior, which keeps it below a 5.

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 front-loaded sentence with the artifact named first, followed by the content breakdown. Dense but every clause (fields read, response answers, broken-webhook reporting, secret masking) contributes information rather than restating the name.

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?

No output schema exists, so the description must describe the return value — and it does so thoroughly, including a non-obvious extension field and the masking behavior. Only the handling of an omitted scheme_id and failure modes are left unaddressed.

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?

Single parameter with 100% schema description coverage, including the env-var fallback, so the schema already does the work. The description says nothing about scheme_id, which is acceptable at this coverage level but adds no value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and artifact: 'Get the OpenAPI 3 document of the scheme webhooks', then enumerates exactly what the document contains (base URL, paths, methods, params, fields, response answers). This is unmistakably different from siblings like scheme_get or scheme_export, which deal with the scheme itself rather than a generated API spec.

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 only implied: an agent can infer this is the tool for producing webhook API documentation. There is no explicit when-to-use statement, no mention of when to prefer scheme_export or scheme_get instead, and no stated prerequisites.

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