Skip to main content
Glama

documentation_api

Read-onlyIdempotent

Fetch live OpenAPI/Swagger documentation for a catalog API—including servers, GET operations, and parameters—so you can confirm endpoints before making calls.

Instructions

Lit la documentation OpenAPI/Swagger d'une API du catalogue, en direct : serveurs déclarés et opérations GET avec leurs paramètres. À lire avant appeler_api pour ne pas deviner les chemins.

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": {
      "identifiant": "<identifiant>"
    },
    "name": "documentation_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifiantYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds two genuinely useful facts beyond them: the document is fetched 'en direct' (live) and only GET operations are surfaced, which tells the agent mutations will not be documented. It says nothing about failure behavior when the identifier is unknown or about rate limits on the live fetch.

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?

Two sentences with zero filler; the returned content comes first and the usage cue second. Every clause earns its place.

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 one-parameter read tool with no output schema, the description does the essential work by naming what is returned (servers, GET operations, parameters) and its ordering relative to appeler_api. What remains missing is the accepted form of `identifiant` and the behavior on a miss, which matter for correct invocation.

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?

The schema has one parameter, `identifiant`, with 0% description coverage, so the description carries the burden. The phrase 'd'une API du catalogue' does clarify that the identifier refers to a catalog API entry rather than a URL or arbitrary name, but no format, slug conventions, or lookup/matching rules are given.

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 resource ('Lit la documentation OpenAPI/Swagger d'une API du catalogue') and even specifies the payload contents: declared servers and GET operations with their parameters. It is immediately distinguishable from the write/call sibling appeler_api.

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

Usage Guidelines4/5

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

Explicitly tells the agent to read this before `appeler_api` so as not to guess paths, which is a clear use condition tied to a named alternative. It does not state when this tool should be skipped (e.g. when the schema is already known), so it falls short of the full when/when-not pairing.

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