Skip to main content
Glama

4D Results (Malaysia, Singapore, Cambodia)

4D number history

lookup_number
Read-onlyIdempotent

Lists every official 4D draw in which a given 4-digit number appeared as a winning number, with its date, operator and prize tier. Past winning appearances only, not a ranking. Official results only; no number recommendations or forecasts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYes4-digit number, including any leading zeros (e.g. "0650").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behavior, so the safety profile is covered. The description adds value beyond that by disclosing the returned fields (date, operator, prize tier) and the historical-only scope, which is meaningful since there is no output schema. Pagination or empty-result behavior remains unstated.

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?

Three short sentences, front-loaded with what is returned, followed by the two scope caveats. No filler or repetition; every sentence adds a distinct constraint.

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 a one-parameter, read-only lookup with no output schema, the description supplies the return shape and scope limits, which is close to sufficient. Minor gaps remain around result volume/pagination and behavior when the number has no winning appearances.

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 single parameter's leading-zero example is fully documented in the schema. The description's "given 4-digit number" merely restates the parameter without adding format or constraint detail, so the baseline 3 applies.

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?

States a specific verb and resource: it lists the official 4D draws in which a given 4-digit number appeared, and clarifies it is not a ranking. That clearly separates it from date/operator/latest-result siblings, though no sibling is named explicitly.

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?

"Past winning appearances only" and "Official results only; no number recommendations or forecasts" establish scope and exclusions, which implies the lookup use case. However, it never says when to pick this over get_results_by_date, get_operator_results, or get_latest_results, so alternative routing is left to inference.

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.