Skip to main content
Glama

IA-Asso.fr — French Associations Registry

get_department_stats

Read-only

Get comprehensive statistics for a French department. Returns total associations, active count, top cities, sector breakdown, and temporal evolution. Use department codes: 01-95 for metropolitan France, 2A/2B for Corsica, 971-976 for overseas.

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": {
      "code": "<code>"
    },
    "name": "get_department_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesDepartment code (e.g., "69" for Rhône, "75" for Paris, "2A" for Corse-du-Sud)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, so the description adds value elsewhere: it discloses the shape of the result (counts, top cities, sector breakdown, temporal evolution) despite there being no output schema, and it documents accepted code ranges that the annotations cannot express. Rate limits or aggregation latency are not mentioned, but they are secondary here.

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?

Three sentences, front-loaded with purpose, then return contents, then input constraint. No filler and every sentence carries information an agent needs. The stated return contents justify the word 'comprehensive'.

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

Completeness5/5

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

For a single-parameter, read-only aggregation tool with no output schema, the definition covers what the tool does, what it returns, and exactly which identifier values are legal. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already gives per-value examples ("69", "75", "2A"). The description goes beyond those examples by enumerating the full valid code space and its three ranges (metropolitan, Corsica, overseas), which meaningfully reduces invalid-input risk and clarifies the geographic scope.

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?

"Get comprehensive statistics for a French department" gives a specific verb and resource, and the enumeration of returned metrics (total associations, active count, top cities, sector breakdown, temporal evolution) makes the aggregation scope concrete. It does not explicitly name how it differs from get_platform_stats or get_france_overview, so the sibling boundary is only implied by the department-level scope.

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

Usage Guidelines3/5

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

The definition constrains valid inputs (01-95, 2A/2B, 971-976), which steers correct invocation, but it never says when to pick this tool over get_platform_stats or get_france_overview, nor any when-not condition. Usage is implied by scope rather than stated.

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