Skip to main content
Glama
Swagger MCP Server
by Waltu

get_endpoint_details

Retrieves detailed information for a specific API endpoint by service slug, path, and HTTP method, helping users inspect endpoint behavior and requirements.

Instructions

Get detailed information about a specific endpoint

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

Input Schema

NameRequiredDescriptionDefault
pathYesAPI endpoint path
slugYesService slug identifier
methodYesHTTP method (GET, POST, PUT, DELETE, etc.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about side effects, required permissions, error behaviour when the endpoint is not found, or what 'detailed information' contains. Beyond the word 'Get' implying a read, it adds no behavioural context.

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?

It is a single, front-loaded sentence with no filler or redundancy. Brevity is appropriate, though it edges toward being too thin rather than efficient.

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

Completeness2/5

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

The tool requires a three-part composite key and has no output schema, so the description should at least sketch what the returned details cover and how the identifiers combine. Instead it leaves both unanswered, making it under-specified for a 3-required-parameter lookup.

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%, with each of the three required parameters (slug, path, method) already documented and the method enum enumerated. The description adds nothing about how the triple jointly identifies an endpoint, 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 states a specific verb ('Get detailed information') and a bounded resource ('a specific endpoint'), signalling a single-item lookup rather than a listing. It does not name or differentiate itself from siblings such as get_endpoints or search_endpoints, so an agent must infer the singular-vs-list distinction from the word 'specific'.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named. The only implied usage is that this is the detail view for one endpoint, which an agent must derive rather than read.

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