Skip to main content
Glama

Pouls · sondages présidentielle 2027

Fiche candidat

get_candidate
Read-onlyIdempotent

Tout ce que les sondages disent d'un candidat : moyenne de premier tour, évolution, duels de second tour mesurés et sondages individuels où il figure. Un candidat déjà testé mais hors de la moyenne (trop peu sondé ou retiré) renvoie ses derniers résultats bruts, sans moyenne.

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": {
      "candidate": "<candidate>"
    },
    "name": "get_candidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowNoPériode de l'historique : 3m = 3 mois, 6m = 6 mois, 1a = 1 an, tout = Tout. Par défaut 6m.
candidateYesNom du candidat, par exemple « Jordan Bardella ». Accents facultatifs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

The annotations already establish readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds a genuinely useful behavioral trait beyond that: a candidate with too few polls or who has withdrawn returns raw latest results without an average, which tells the agent to expect a shape variation instead of an error or empty result. It stops short of disclosing ordering, volume, or response shape details.

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?

Two sentences, both earning their place: the first front-loads the payload contents, the second immediately qualifies the edge case. No filler, no repetition of the title 'Fiche candidat', and the conditional case is placed after the main behavior rather than buried.

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 burden of describing return values, and it does so reasonably well by naming the four data blocks returned and the degraded form for under-polled candidates. What is missing is how much history is returned, ordering, and whether runoff duels can be absent, but the essential shape is conveyed.

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%, with the window enum values and default plus the candidate name format and accent tolerance all documented in the schema. The description names no parameter and adds no meaning beyond the structured fields, so the baseline of 3 applies.

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

Purpose3/5

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

The description enumerates what the response contains ('moyenne de premier tour, évolution, duels de second tour mesurés et sondages individuels'), so the resource is identifiable, but it never states an action verb and offers no differentiation from the four sibling tools. Because the listed contents overlap with get_polling_average, get_trend, get_runoff_polls and list_recent_polls, an agent cannot tell whether this is an aggregator of those or a distinct record.

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

Usage Guidelines2/5

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

There is no when-to-use statement, no when-not-to-use, and no routing to any alternative tool. The only conditional content ('Un candidat déjà testé mais hors de la moyenne...') describes a fallback behavior rather than guidance on tool selection, leaving the agent to infer when this beats the sibling tools.

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.

Resources