Skip to main content
Glama

appeler_api

Read-onlyIdempotent

Retrieve French public open data by calling a catalog API with a GET request using an API identifier and relative path; supports OpenAPI server routing and user-declared keys.

Instructions

Appelle (GET uniquement) une API du catalogue. chemin est relatif à l'URL de base (ex. « /siren/123456789 »). serveur_openapi : true pour partir du serveur déclaré dans la documentation OpenAPI plutôt que de l'URL de base du catalogue (utile quand celle-ci pointe vers une page web). Les API restreintes ne sont jamais appelées ; celles « avec compte » exigent une clé déclarée par l'utilisateur.

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>",
      "chemin": "<chemin>"
    },
    "name": "appeler_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
cheminYes
parametresNo
identifiantYes
serveur_openapiNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real context beyond that: GET-only enforcement, automatic exclusion of restricted APIs, and the prerequisite that a personal key must already be declared for account-tier APIs. It stops short of describing failure responses or what the call returns.

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?

Three sentences, front-loaded with the operation and its method restriction, then the path convention, then the server override. The parenthetical example "(/siren/123456789)" and the explanation of when the base URL is a web page both earn their place; no filler is present.

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?

For an open-world HTTP-calling tool with four undocumented-schema parameters and no output schema, the definition covers the path convention and auth prerequisites but leaves the required `identifiant` and the `parametres` query object undefined, and says nothing about the response shape or error behavior. Adequate to attempt a call, not complete enough to call confidently the first time.

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 0%, so the description carries the full burden, and it only partially does so: `chemin` gets a relative-path rule plus a concrete example, and `serveur_openapi` gets its boolean meaning and motivation. The required `identifiant` and the `parametres` object are never explained in the description, leaving half the parameters undocumented anywhere.

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 gives a specific verb and resource ("Appelle ... une API du catalogue") and immediately constrains the HTTP method to GET, which sharply defines the tool's scope. It does not name any sibling to contrast with, so the boundary with documentation_api or fiche_api is left implicit, but the operation itself is unambiguous.

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?

It gives concrete conditional guidance: `serveur_openapi` should be set to true when the catalog base URL points at a web page, and it states that restricted APIs are never called while account-gated APIs require a user-declared key. What is missing is any statement of when to prefer appeler_api over the documentation/fiche siblings, but the usage conditions it does give are actionable.

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