Skip to main content
Glama

get_departement

Read-onlyIdempotent

DataRespublica — fiche département (territoires.level=departement).

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": {
      "departement_code": "<departement_code>"
    },
    "name": "get_departement"
  }
}

Input Schema

NameRequiredDescriptionDefault
departement_codeYesCode département INSEE (ex. 69, 2A, 971)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/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 safety is fully covered without the description. The only added context is the underlying territoires.level=departement reference, which is cryptic and does not explain what the fiche contains or how it behaves on a missing code.

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?

One short sentence with no filler, leading with the source name and resource. It is arguably under-specified rather than padded, so it earns its length.

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?

A single-parameter read tool is simple enough that a short description can suffice, and annotations cover the safety profile. However, with no output schema, the description gives no indication of what the fiche returns or its relationship to sibling territory tools, leaving a real gap.

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 coverage is 100% and the single parameter is already documented with INSEE code examples (69, 2A, 971) plus min/max length. The description adds nothing about the parameter beyond what the schema states, 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?

Names the resource specifically ('fiche département') and anchors it to a data model level ('territoires.level=departement'), which implicitly separates it from commune-level siblings. The verb is only implied by the name and the wording is terse, but an agent can tell this returns a departmental record.

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 guidance, no statement of when to prefer this over get_commune or get_territory_scores, and no prerequisites. The level annotation hints at scope but nothing tells the agent which tool to pick for a given question.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources