Skip to main content
Glama

Programme TV Noël

rechercher_diffusions

Read-onlyIdempotent

Chercher les débuts de diffusions entre deux dates incluses (31 dates maximum) et dans une plage horaire appliquée chaque jour, minutes incluses. Horaires civils Europe/Paris ; convertir demain dans ce fuseau. Pour après 20 h, heure_debut=20:00. Pour une plage traversant minuit, faire deux appels. Filtrer avec les identifiants de lister_chaines ou de rechercher_films. Résultats chronologiques. Couverture inconnue : vide ne signifie pas programme indisponible ni aucune diffusion prévue. Les heures locales sans décalage UTC préservent le stockage, y compris l’ambiguïté du changement d’heure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoNuméro de page ; reprendre page_suivante tant qu’il est non nul.
limiteNo
chainesNoIdentifiants retournés par lister_chaines ; vide signifie toutes.
id_filmNo
date_finYesDate civile Europe/Paris au format AAAA-MM-JJ, de 2000-01-01 à 2100-12-31.
heure_finNo23:59
date_debutYesDate civile Europe/Paris au format AAAA-MM-JJ, de 2000-01-01 à 2100-12-31.
heure_debutNo00:00

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses three non-obvious behaviors: results are returned chronologically; an empty result does NOT mean no broadcast is planned ('Couverture inconnue' caveat); and local times without UTC offset preserve storage including DST ambiguity. The DST and empty-result notes are exactly the kind of behavioral context annotations cannot convey. No contradiction with annotations.

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 dense paragraph where every clause carries information: core semantics first, then pragmatic rules (midnight split, 20:00 example), then storage caveats. It is front-loaded and free of filler. The only minor flaw is that a single unbroken paragraph would benefit from visual separation of the edge-case rules, but no sentence is wasted.

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?

For an 8-parameter tool with no output schema, the description covers date range, time range, timezone conversion, DST ambiguity, midnight-crossing behavior, empty-result semantics, chronological ordering, and sibling-based filtering — far more than expected. The residual gap is the result envelope shape (the schema's page description hints at page_suivante but never describes the result structure). This is minor, but it prevents full self-sufficiency.

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 only 50%, leaving limite, id_film, heure_fin, and heure_debut undocumented in the schema. The description compensates for the most important gaps: it defines date semantics ('deux dates incluses', '31 dates maximum'), time-range semantics (applied daily, minutes included), gives a concrete value example (heure_debut=20:00), and explains the chaines/id_film filters via sibling tools. Only limite remains unaddressed, but the semantically tricky temporal parameters are well covered.

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 precise verb+object pair — 'Chercher les débuts de diffusions' (search for broadcast starts) — and immediately scopes it: inclusive dates, max 31 days, a daily time range with minutes. This clearly distinguishes it from the siblings: lister_chaines (channel catalog), obtenir_film (single-film metadata), and rechercher_films (movie search). An agent can identify which tool to call without opening the schema.

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

Usage Guidelines4/5

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

The description gives concrete operational guidance: filter using IDs from lister_chaines or rechercher_films (explicitly wiring siblings into the workflow), set heure_debut=20:00 for after-8 PM requests, split midnight-crossing ranges into two calls, and respect the 31-date cap. It does not state an explicit 'when not to use this tool' condition that would route to a sibling, so it stops short of 5, but the when and how guidance is strong.

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