Skip to main content
Glama

Unités administratives

adminexpress
Read-onlyIdempotent

Retrieve administrative units covering a geographic point by providing longitude and latitude. Returns typed objects with INSEE codes and feature references for further spatial queries.

Instructions

Renvoie, pour un point donné par sa longitude et sa latitude, la liste des unités administratives (arrondissement, arrondissement_municipal, canton, collectivite_territoriale, commune, commune_associee_ou_deleguee, departement, epci, region) qui le couvrent, sous forme d'objets typés contenant leurs propriétés administratives. Les résultats incluent un feature_ref WFS réutilisable. Les propriétés incluent notamment le code INSEE. Le feature_ref de chaque unité administrative est directement réutilisable dans gpf_wfs_get_features avec spatial_operator="intersects_feature" pour interroger d'autres données sur cette emprise. Pour récupérer exactement l'objet correspondant au feature_ref, utiliser gpf_wfs_get_feature_by_id. (source : Géoplateforme (WFS, ADMINEXPRESS-COG.LATEST)).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lonYesLa longitude du point.
latYesLa latitude du point.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesLa liste des unités administratives couvrant le point demandé.
Behavior4/5

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

Annotations already indicate read-only, idempotent, open-world. The description adds valuable behavioral details: return type (typed objects), included properties (INSEE code, feature_ref), data source (Géoplateforme), and how to reuse the feature_ref in other WFS operations. This goes beyond annotations without contradiction.

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?

The description is a single, well-structured paragraph. The first sentence front-loads the main purpose, followed by supplementary details (feature_ref usage, source). No redundant words. Slight improvement possible with bullet points, but currently effective and concise.

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?

Given the tool's simplicity (2 parameters) and the presence of an output schema, the description fully covers the necessary context: what the tool does, what the output contains, how to use results with sibling tools, and data source. No gaps identified.

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% with clear descriptions for lon and lat. The description restates the parameters (longitude, latitude) but adds no new semantic meaning or formatting details beyond what the schema provides. Baseline score of 3 is appropriate.

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 clearly states the tool returns a list of administrative units covering a point, specifying the unit types. It is specific about the resource (administrative units) and the action (returns list). While it distinguishes from siblings by referencing related WFS tools, it does not explicitly differentiate from all sibling tools, hence a 4.

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 description implies usage context (querying administrative units by point) and mentions that the feature_ref can be used with other tools, but does not explicitly state when not to use this tool or specify alternatives beyond the referenced WFS tools. Usage guidelines are implied but not explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ignfab/geocontext'

If you have feedback or need assistance with the MCP directory API, please join our Discord server