Skip to main content
Glama

ScorpTech x402 Tools

Wythoff Inverse

wythoff_inverse
Read-onlyIdempotent

Which Wythoff sequence contains m, and at which index. 1 is the lower number at index 1. 2 is the upper number at index 1. Every positive integer is in exactly one sequence. m runs from 1 to 1600000. Returns JSON with: m, side, n. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/wythoff-inverse

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "m": "<m>"
    },
    "name": "wythoff_inverse"
  }
}

Input Schema

NameRequiredDescriptionDefault
mYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description usefully adds the return shape (m, side, n), the accepted input range, the per-call price, and a parallel HTTPS endpoint. It does not clarify what values `side` takes (1/2 vs. "lower"/"upper") or how errors are reported.

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?

The core query and side encoding are front-loaded, followed by range, return fields, and pricing/endpoint details. Each sentence carries information, though the pricing and URL sentences are operational metadata rather than tool behavior and could be trimmed in a purely functional context.

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 math lookup with no output schema, the description covers input range, output fields, cost, and an alternate transport, which is close to what an agent needs. The remaining gap is the exact domain of the `side` value and any failure behavior out of range.

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?

With a single parameter and 0% schema description coverage, the description must carry the burden; it does say m is the integer being located and that m ranges from 1 to 1600000. However, that range is already encoded in the schema's minimum/maximum, so the added meaning is modest and no format or edge-case guidance is given.

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?

The description states a specific operation: given m, report which Wythoff sequence contains it and at which index, and it also defines the side encoding (1 = lower at index 1, 2 = upper at index 1). It does not explicitly contrast itself with similar siblings such as wythoff_kind, wythoff_pair, or wythoff_lower/upper, so an agent must infer the distinction.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative, even though the sibling list contains several closely related Wythoff tools. The uniqueness note ("every positive integer is in exactly one sequence") helps the agent understand the domain but does not route between tools.

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