Skip to main content
Glama

x402-chinese-remainder

Chinese Remainder: Chinese Remainder

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aNoA to process
mNoM to process
moduliNoModuli to process
remaindersNoRemainders to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / m
      Added value: +{
      +  "description": "M to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / moduli
      Added value: +{
      +  "description": "Moduli to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / remainders
      Added value: +{
      +  "description": "Remainders to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing: not whether the moduli must be pairwise coprime, not what happens on inconsistent systems, not the output shape. A single tautological phrase gives an agent no basis for predicting behavior.

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

Conciseness2/5

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

The text is short, but this is under-specification rather than conciseness – the single fragment is a duplicated restatement of the name that carries zero information. Brevity only earns credit when the remaining content is sufficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, four undescribed parameters, and no explanation of the algorithm's inputs or result, the definition is completely inadequate for an agent to invoke this tool correctly. Nothing that an agent needs to call it is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is nominally 100%, which normally sets a baseline of 3, but the field descriptions are non-semantic placeholders ('A to process', 'M to process') that add no meaning over the field names. Worse, the schema contains two overlapping pairs (a/m and remainders/moduli) with no indication of which are actually consumed or how they relate, leaving a real ambiguity the description does nothing to resolve.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is 'Chinese Remainder: Chinese Remainder' – a pure restatement of the tool name with no verb, no resource, and no explanation of the operation. An agent cannot tell from this text what it would receive or produce, nor distinguish it from the many sibling number-theory tools.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. Siblings such as x402-multiplicative-inverse, x402-extended-gcd, and x402-is-congruent cover adjacent modular-arithmetic concepts, but nothing here routes the agent between them.

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