Skip to main content
Glama
API Documentation MCP

API Documentation MCP

by REMR11

Detalle de endpoint

get_endpoint
Read-onlyIdempotent

Retrieves full details for a specific OpenAPI endpoint—method, path, parameters, request body, responses, schemas, and security—so you can understand and use an API operation.

Instructions

Devuelve método, ruta, descripción, parámetros, cuerpo, respuestas, esquemas relacionados y seguridad declarada.

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": {
      "path": "<path>",
      "method": "<method>"
    },
    "name": "get_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesRuta OpenAPI, por ejemplo /api/users.
methodYesMétodo HTTP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description contributes the return payload shape, which matters because there is no output schema, but it says nothing about behavior when the path/method combination does not exist or about the size/cost of the response.

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 dense sentence that front-loads the verb and lists the returned fields in a logical order (identity, request, response, schemas, security). No filler or redundancy, though the enumeration is a bare list rather than a structured breakdown.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because no output schema exists, the field enumeration is the main carrier of return-value information and it does that reasonably well. Still missing for a lookup tool with zero sibling differentiation and no error/not-found behavior, so it is adequate rather than complete.

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% — both path ("Ruta OpenAPI, por ejemplo /api/users") and method ("Método HTTP") are documented inline. The description only echoes "método, ruta" as returned fields and adds no format, case-sensitivity, or matching semantics beyond the schema, so the 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?

The verb "Devuelve" plus an explicit enumeration of what comes back (method, route, description, parameters, body, responses, related schemas, declared security) makes clear this retrieves the full detail of one endpoint. It does not, however, distinguish itself from siblings such as get_schema or list_endpoints, leaving that differentiation to the agent.

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 despite the presence of list_endpoints (for browsing) and get_schema (for schema-only lookups). An agent must infer from the name and required path/method that this is the single-endpoint detail call.

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