Skip to main content
Glama

Trouver un guichet public

services_publics_trouver
Read-onlyIdempotent

Find French public services by municipality or name in the official Service-Public.fr directory and return addresses, phone numbers, emails, and opening hours.

Instructions

Trouve les services publics d'une commune ou par nom dans l'annuaire officiel Service-Public.fr (94 000 guichets) : mairie, préfecture, CAF, CPAM, France Travail, tribunal, France Services, gendarmerie, centre des impôts… Renvoie adresse, téléphone, courriel, horaires.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "services_publics_trouver"
  }
}

Input Schema

NameRequiredDescriptionDefault
nomNoTexte dans le nom, ex. « préfecture des Bouches-du-Rhône »
typeNoType de guichet (code pivot), ex. mairie, prefecture, caf, cpam, france_travail, france_services, gendarmerie, commissariat_police, sip (impôts), tribunal_judiciaire
limiteNo
code_inseeNoCommune (voir communes_rechercher)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true and openWorld=true, so the safety profile is covered. The description adds real value by naming the upstream data source and its coverage ('annuaire officiel Service-Public.fr, 94 000 guichets'), but says nothing about pagination, result limits, or what happens when no match is found. Useful context, not rich behavioral disclosure.

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?

Two sentences, front-loaded with the core action and scope, followed by return fields. The list of guichet types is long but earns its place by giving the agent vocabulary for matching queries. Slight redundancy between the type list here and the type parameter description.

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?

With no output schema, the description compensates by naming the returned fields (adresse, téléphone, courriel, horaires), and the annotations cover safety. It lacks any note about result volume or how the limite parameter interacts with output, which keeps it from being complete for a search tool.

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 75%, so the schema already documents nom, type, code_insee and limite (with examples and a pattern). The description only restates the commune/name duality that the schema already implies, and never mentions the limite cap. Baseline 3 is appropriate where the schema does the heavy lifting.

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?

Specific verb ('Trouve') plus resource ('services publics', 'guichets') with an explicit scope: by commune or by name, inside the official Service-Public.fr directory. The enumeration of guichet types (mairie, préfecture, CAF, CPAM, France Travail, tribunal…) and the 94,000-record size make the tool's remit unmistakable and hard to confuse with geocoding or commune lookup siblings.

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?

The description makes the two search modes explicit ('d'une commune ou par nom'), so an agent knows both entry paths exist. It stops short of naming when to prefer a sibling (e.g. resolving a commune first via communes_rechercher) or stating exclusions, but the context for use is clear.

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