Skip to main content
Glama

Un usage précis est-il compris ?

check_usage_compatibility
Read-onlyIdempotent

Dit si un usage est compris dans un forfait Flytel selon le pays où se trouve le téléphone (country_of_use) et le pays du numéro appelé (destination_country), codes ISO alpha-2. Distingue « depuis la Suisse », « vers la Suisse » et l’itinérance. usage_type : call, sms, mms, data, incoming_call. À utiliser pour toute question « est-ce compris ? » sur un appel, un SMS ou les données ; les prix hors forfait d’un pays sont dans flytel_tarifs_pays.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_idYesIdentifiant du forfait, par exemple « essentiel » ou « confort » (list_plans).
usage_typeYes
country_of_useYesPays où se trouve physiquement le téléphone, ISO alpha-2 (FR, CH…).
destination_countryNoPays du numéro appelé ou destinataire du SMS, ISO alpha-2. Absent pour data et incoming_call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pricesNo
statusNo
plan_idYes
includedYestrue, false, ou "unknown" si non confirmé par écrit.
source_urlYes
updated_atNo
usage_typeYes
explanationNo
verified_atNo
allowance_gbNo
classificationNo
counts_againstNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuine behavioral context beyond them: the from-CH / to-CH / roaming distinction and the fact that the answer depends on where the phone physically is versus the destination number. It does not describe pagination or edge cases (e.g. no coverage), but the output schema carries the return shape.

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?

Purpose and the from/to/roaming framing are front-loaded, and the routing sentence to flytel_tarifs_pays closes it cleanly. It is slightly long and partially repeats the usage_type enum from the schema, which is wasted text.

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?

An output schema exists, so return values need no explanation, and all three required parameters plus the conditional destination_country are covered. For a filtered-lookup tool this is close to complete; only edge behavior (unsupported combinations) is left implicit.

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 75%, and the description meaningfully disambiguates the two country parameters — country_of_use is where the phone is, destination_country is the called party — a distinction the schema describes but the roaming framing sharpens. It also repeats the usage_type enum already in the schema, which adds nothing.

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: tells whether a given usage_type is included in a Flytel plan, scoped by country_of_use and destination_country. It explicitly distinguishes the three relevant cases (« depuis la Suisse », « vers la Suisse », itinérance), which an agent cannot infer from the name alone.

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 routing rule — use it for any « est-ce compris ? » question about calls, SMS or data — and names the sibling to use instead when the question is about out-of-plan pricing (flytel_tarifs_pays). When-to-use and the alternative are both stated.

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