Skip to main content
Glama

etat_du_hub

Read-onlyIdempotent

Checks the local hub index offline: whether it exists, how many items it contains, and when it was last synchronized. Call first when another tool reports an index error.

Instructions

Diagnostic rapide du hub lui-même, sans réseau : l'index local existe-t-il, combien d'éléments contient-il, de quand date la dernière synchronisation. À appeler en premier si un autre outil renvoie une erreur d'index. Pour savoir si les services en ligne répondent, utiliser disponibilite_sources ; pour juger la qualité des données publiées par les producteurs, utiliser 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": "etat_du_hub"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/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 closed-world, so the safety profile is covered. The description adds meaningful context beyond them: the check is local and requires no network ('sans réseau') and is a pre-diagnostic step after index errors. It does not describe output shape or failure modes, but the local/no-network disclosure is the key nuance an agent needs.

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 short sentences, front-loaded with what it is and the no-network constraint, then the escalation trigger, then the sibling routing. Every sentence carries decision-relevant information.

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 zero-parameter read diagnostic with full annotation coverage and no output schema, the description compensates by enumerating the three pieces of state returned. An agent knows when to call it, what it will learn, and what it will not learn.

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 to disambiguate and the baseline applies. The description correctly implies a parameterless call and does not mislead about inputs.

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?

States a specific verb and resource ('Diagnostic rapide du hub lui-même') and enumerates exactly what it reports: index existence, item count, and last-sync date. It is immediately distinguishable from the named siblings that check online availability or data quality.

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?

Gives an explicit trigger ('À appeler en premier si un autre outil renvoie une erreur d'index') and explicitly routes the agent elsewhere: `disponibilite_sources` for online service reachability and `sante_des_donnees` for producer data quality. When-to-use and when-not-to-use are both covered.

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