Skip to main content
Glama

disponibilite_sources

Read-onlyIdempotent

Checks availability of the hub's external APIs, returning HTTP status, latency, last sync dates and index synchronization progress. Use it to diagnose failures or verify reachability before calls.

Instructions

Teste en direct si les services en ligne utilisés par le hub répondent (API data.gouv.fr, API tabulaire, MCP officiel, ADEME, géocodage), avec catégorie, code HTTP et latence ; ajoute la date de dernière synchronisation par type de contenu, le dernier bilan de joignabilité des API du catalogue et l'avancement de synchroniser_index. Quand l'utiliser : quand un outil en direct échoue, avant une série d'appels, ou pour suivre une synchronisation. Lecture seule, environ 1 à 15 secondes. La qualité des données elles-mêmes relève de sante_des_donnees.

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": "disponibilite_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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, openWorld and non-destructive, yet the description still adds value by disclosing expected runtime ('environ 1 à 15 secondes') and the shape of the result (catégorie, code HTTP, latence, dates de dernière synchronisation, avancement de `synchroniser_index`). It does not say how per-service failures are aggregated or whether results are cached, which keeps it short of 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?

The definition is front-loaded: purpose first, trigger conditions second, cost and exclusions last, with no filler. The first sentence is dense, packing a parenthetical service list plus three secondary outputs, which is slightly heavy but each element is load-bearing.

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?

With no output schema, the description carries the return-value burden and does so by naming the fields the probe reports plus the sync-related extras. Combined with the stated latency and read-only nature, an agent has everything needed to call it and interpret the answer.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool applies. The description correctly avoids inventing options the schema does not have.

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?

The description opens with a specific verb and object ('Teste en direct si les services en ligne ... répondent') and enumerates exactly which services are probed (data.gouv.fr, tabular API, MCP officiel, ADEME, géocodage). It also names what it is not ('La qualité des données ... relève de `sante_des_donnees`'), so an agent can separate it from the sibling without opening a 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?

It gives three concrete trigger conditions ('quand un outil en direct échoue, avant une série d'appels, ou pour suivre une synchronisation') and explicitly routes data-quality questions to `sante_des_donnees`. Both when-to-use and when-not-to-use are stated.

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