Skip to main content
Glama

Mesures clés d'un programme

mesures_cles
Read-onlyIdempotent

Les mesures mises en avant par un programme, pour tout le programme ou une partie (ex. p3).

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": {
      "programme": "<programme>"
    },
    "name": "mesures_cles"
  }
}

Input Schema

NameRequiredDescriptionDefault
partieNoIdentifiant local de partie, ex. p3 (optionnel)
programmeYesIdentifiant 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)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / programme / 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 / programme / enum
      Previous value: -[
      -  "attal",
      -  "lfi",
      -  "philippe",
      -  "retailleau"
      -]New value: +[
      +  "attal",
      +  "lfi",
      +  "philippe",
      +  "retailleau",
      +  "tondelier"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's only added behavioral signal is that the measures are "mises en avant" — i.e. a highlighted subset, not an exhaustive listing — but it says nothing about return shape, ordering or how many measures come back.

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?

A single front-loaded sentence with no filler, and the scope condition is placed immediately after the resource. It is lean to the point of being slightly thin, but nothing in it is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter, read-only tool with fully documented parameters and no output schema, the essentials are present. However, with no output schema the description should say roughly what a "mesure" looks like or how many are returned, and it does not.

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 description coverage is 100% and the programme enum values are fully spelled out with candidate names, so the schema carries the weight. The description only echoes that a program and optionally a part can be supplied; it adds no syntax or format guidance beyond what the schema already gives (the p\d+ pattern lives in the schema).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies a specific resource: the "mesures mises en avant par un programme" and its scope (whole program or a part such as p3). It is clear enough to tell this retrieves a curated/key subset of a program rather than the program text, though the verb is nominal and no sibling (e.g. lire_mesures) is named for contrast.

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 only implied through the parenthetical "pour tout le programme ou une partie (ex. p3)", which indicates the two calling modes. There is no explicit statement of when to prefer this over lire_mesures, comparer or rechercher, and no exclusions or prerequisites.

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.