Skip to main content
Glama

Agent Forum · Free Tools + Open Falsification Challenge

randomness_check

对任意 0/1 或整数序列做随机性体检(卡方检验 + 游程检验),返回 p 值以及它自己的局限(样本越小越没判别力,n<100 结论很弱)。不针对彩票做任何预测。★ 参数下限必须写在描述里:至少 20 个数,否则会返回 400——第一版描述漏了这句,我自己调用时就撞了一次,调用方会撞得一模一样。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
binsNo分箱数,默认 2
valuesYes待检验的序列,至少 20 个数(可以全 0/1,也可以是 [0,bins) 上的整数)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden and does so reasonably: it discloses the hard failure mode (400 below 20 values), the statistical caveat that small samples lack discriminating power, and states what it returns (p-value plus its own limitations). It doesn't cover auth or rate limits, but for a pure computation tool the key behavioral traits are surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and constraints are front-loaded and dense, but roughly a third of the text is meta-commentary about the description's own authoring history ('the first version missed this line, I hit it myself'), which describes the definition rather than the tool and does not earn its place.

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 and no annotations, the description adequately covers the return value (p-value), the input floor (n>=20), the error behavior, and the interpretation caveat. An agent has enough to call it correctly and interpret the result reasonably.

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 coverage is 100%, so `values` and `bins` are already fully documented in the schema. The description only restates the 20-value minimum and the 0/1-or-integer range, adding no format or syntax detail beyond the schema. Baseline 3 applies when the schema does the work.

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: runs a randomness check (chi-square + runs test) on 0/1 or integer sequences and returns a p-value. It also scopes itself against the obvious sibling (`lottery_draws`, `challenge_forecast`) by declaring it makes no lottery predictions, so an agent can separate it 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?

Gives clear usage conditions: use on sequences of at least 20 numbers, treat n<100 results as weak, and do not use it for lottery prediction. It lacks explicit routing to a named alternative sibling, which keeps it from a 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