Skip to main content
Glama

Controlar un número

check_number
Read-onlyIdempotent

Use this when the user asks whether a number came out: '¿salió el 23?', '¿salió el 4512 a la cabeza?', 'controlar quiniela'. Checks a number of 1 to 4 digits (matched by its last digits) against every jurisdiction and turno of a day, a la cabeza or within the first 5, 10 or 20 positions, and lists where it came out. It does not calculate prizes or take bets. When the host shows the result as a widget, the user already sees every number: do not repeat them in a table or list, answer in one or two sentences (what is still pending, or what stands out).

Input Schema

NameRequiredDescriptionDefault
dateNoDraw day in Argentina: YYYY-MM-DD, "today" or "yesterday". Omit for the latest results.
numberYesThe number played, 1 to 4 digits, e.g. "23" or "0451".
positionsNoPositions covered: 1 (a la cabeza), 5, 10 or 20 (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish a safe, idempotent, closed-world read. The description adds genuinely useful behavior the annotations cannot: matching is by trailing digits, coverage spans every jurisdiction and turno, and no side effects like bets or prize calculation occur. The output-presentation rule (don't repeat the widget's numbers, answer in one or two sentences) is extra context the agent could not infer.

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?

Front-loaded with the trigger condition, then scope, then exclusions, then output formatting. The embedded user utterances and the widget-formatting sentence are both load-bearing, though the description is longer than strictly necessary for such a small schema.

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?

There is no output schema, but the description explains the return shape ('lists where it came out'), the matching rule, and the date default is handled in the schema. It is complete enough to call correctly; only minor gaps remain around result granularity (per-jurisdiction list vs. summary).

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 100%, so the baseline is 3, but the description adds real semantics: 'matched by its last digits' explains matching behavior the schema pattern does not, and the 'a la cabeza or within the first 5, 10 or 20 positions' phrasing clarifies the positions parameter's meaning beyond the enum constants.

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 precise verb and resource ('checks a number of 1 to 4 digits... against every jurisdiction and turno') and anchors it with real user phrasings ('¿salió el 23?', 'controlar quiniela'). This is clearly distinguishable from siblings like get_results or get_cabezas, which enumerate draws rather than validating a played number.

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?

Gives explicit when-to-use triggers via quoted user utterances and a clear when-not ('does not calculate prizes or take bets'), plus guidance on how to answer when a widget is shown. It never names an alternative sibling tool, so the routing guidance stops short of tier 5.

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