Skip to main content
Glama

Comparer les programmes sur un sujet

comparer
Read-onlyIdempotent

Met côte à côte, pour un même sujet (ex. « retraites », « immigration », « école »), les mesures les plus pertinentes de chaque programme disponible, et signale les programmes pas encore disponibles.

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": {
      "sujet": "<sujet>"
    },
    "name": "comparer"
  }
}

Input Schema

NameRequiredDescriptionDefault
sujetYesSujet ou mots-clés
programmesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / programmes / items / description
      Previous value: -"Identifiant du programme : attal = Gabriel Attal (Renaissance) ; lfi = Jean-Luc Mélenchon (La France insoumise) ; philippe = Édouard Philippe (Horizons) ; retailleau = Bruno Retailleau (Les Républicains)"New value: +"Identifiant du programme : attal = Gabriel Attal (Renaissance) ; lfi = Jean-Luc Mélenchon (La France insoumise) ; philippe = Édouard Philippe (Horizons) ; retailleau = Bruno Retailleau (Les Républicains) ; tondelier = Marine Tondelier (Les Écologistes)"
    • changedInput schema / properties / programmes / items / enum
      Previous value: -[
      -  "attal",
      -  "lfi",
      -  "philippe",
      -  "retailleau"
      -]New value: +[
      +  "attal",
      +  "lfi",
      +  "philippe",
      +  "retailleau",
      +  "tondelier"
      +]
  2. First observed

TDQS

A4.2/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 real behavioral context beyond that: results are curated to the 'most relevant' measures per programme rather than exhaustive, and programmes lacking data are reported rather than silently dropped. It stops short of describing result ordering or how 'pertinence' is determined.

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?

A single sentence with the operation front-loaded, followed by the scope qualifier and the unavailability caveat. The three parenthetical examples earn their space by making the expected topic granularity concrete; there is no filler.

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 carries the return burden and largely meets it: it says output pairs each programme with its most relevant measures and flags programmes not yet available. Missing only finer details such as result ordering or how empty matches are represented, which is minor for a two-parameter read-only tool.

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 50%: 'sujet' is documented, the 'programmes' enum carries per-value meaning but the parameter itself has no top-level description. The description compensates by showing the shape of a valid sujet and by clarifying that omitting programmes yields comparison across every available programme, which is meaning the schema does not convey.

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 names a specific verb ('met côte à côte'), the exact resource ('les mesures les plus pertinentes de chaque programme disponible'), and the scoping input ('pour un même sujet' with concrete examples). It also states a distinguishing behavior ('signale les programmes pas encore disponibles') that separates it from single-program readers like lire_mesures or mesures_cles.

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?

Usage is implied rather than stated: the examples ('retraites', 'immigration', 'école') show the kind of topic to pass, and 'chaque programme disponible' hints that consulting all programmes is the default. However, there is no explicit when-to-use versus rechercher or mesures_cles, and no guidance on when a caller should instead read a single programme's measures directly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.