Skip to main content
Glama

rechercher

Read-onlyIdempotent

Search the local data.gouv.fr catalogue index offline by keyword and filters to retrieve dataset, API, organisation, reuse, or discussion identifiers for further review.

Instructions

Recherche plein texte dans l'index local du catalogue data.gouv.fr (insensible aux accents, sans réseau).

Quand l'utiliser : pour obtenir une liste d'identifiants à examiner soi-même (jeux, API, organisations, réutilisations, discussions), avec des filtres précis. Pour une question en langage naturel dont on veut directement des extraits de données, préférer repondre, qui appelle cette recherche puis lit les fichiers.

type : jeux_de_donnees | api | organisations | reutilisations | discussions | tout. producteur : partie du nom de l'organisation (ex. « Insee », « ADEME »). format : format de fichier (csv, json, xlsx, geojson…), jeux de données seulement. interrogeable : true pour ne garder que les jeux dont un fichier est lisible via interroger_fichier. acces : pour les API, open | open_with_account | restricted. Renvoie un dictionnaire {type: [résultats]} classés par pertinence (identifiant, slug, titre, producteur, dernière mise à jour…) ; une requête vide liste les plus consultés. Les identifiants se passent ensuite à fiche_jeu_de_donnees, fiche_api ou fiche_organisation.

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": {
      "requete": "<requete>"
    },
    "name": "rechercher"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNojeux_de_donnees
accesNo
formatNo
limiteNo
licenceNo
requeteYes
decalageNo
producteurNo
interrogeableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/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 openWorld=false, so the safety profile is covered; the description still adds real behavior beyond that: the search runs against a local index with no network, is accent-insensitive, returns a dict keyed by type sorted by relevance, and an empty query lists the most-consulted entries. It does not discuss pagination limits or result caps, which keeps it from a 5.

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?

Front-loaded with purpose, then a labelled 'Quand l'utiliser' block, then a compact parameter glossary — a structure an agent can scan. The prose is dense but each clause carries information; the only light redundancy is restating some filter meanings that also appear as parenthetical examples.

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?

No output schema exists, and the description compensates by describing the return shape ({type: [résultats]}) and record fields (identifiant, slug, titre, producteur, dernière mise à jour), plus the empty-query edge case. Combined with the offline/accent-insensitive behavior and the type/acces/interrogeable semantics, an agent has enough to construct a correct call and interpret the response.

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 0% and the schema defines no enums, so the description must carry the load — and it does for five parameters, supplying actual enum values the schema lacks (type: jeux_de_donnees | api | organisations | reutilisations | discussions | tout; acces: open | open_with_account | restricted) plus examples for producteur ('Insee', 'ADEME') and constraints for format ('jeux de données seulement') and interrogeable ('dont un fichier est lisible via interroger_fichier'). However, `limite`, `decalage` and `licence` are never mentioned, leaving three of nine parameters undocumented anywhere.

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?

Opens with a specific verb and resource ('Recherche plein texte dans l'index local du catalogue data.gouv.fr') plus two differentiators: accent-insensitive and offline ('sans réseau'). It also names the sibling it is not ('repondre') and states the output unit (identifiers to inspect yourself), so an agent can route between the two without opening either schema.

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

Usage Guidelines5/5

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

Explicit when-to-use: retrieve lists of identifiers for datasets, APIs, organisations, réutilisations or discussions with precise filters. Explicit when-not-to-use with a named alternative: for natural-language questions wanting data extracts, prefer `repondre`, which internally calls this search. It further states the downstream path ('Les identifiants se passent ensuite à fiche_jeu_de_donnees, fiche_api ou fiche_organisation'), completing the workflow guidance.

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