Skip to main content
Glama

ScorpTech x402 Tools

Wythoff Pair

wythoff_pair
Read-onlyIdempotent

The nth Wythoff pair. lower is floor(n*phi) and upper is lower+n. The pair for n = 1 is 1 and 2. The pair for n = 5 is 8 and 13. n runs from 1 to 1000000. Returns JSON with: n, lower, upper. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/wythoff-pair

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": {
      "n": "<n>"
    },
    "name": "wythoff_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: the price ($0.001 USDC per successful call), the x402 payment rail (Base or Solana), and an equivalent HTTPS endpoint - useful for an agent that must budget or avoid a payment path. It stops short of stating what happens on an out-of-range n or a failed payment beyond the 'per successful call' phrasing.

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 definition is front-loaded - what it is, then the formula, then examples, then range, return fields, price, and endpoint. Every sentence carries information, but the tail end (price plus URL) is compressed into one dense line that reads as boilerplate appended to the math description.

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

Completeness5/5

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

For a deterministic single-parameter math tool with no output schema, this covers everything an agent needs: exact semantics, concrete examples, input domain, the three returned fields (n, lower, upper), and the payment/transport model. The only omissions are edge-case error behavior, which is minor at this complexity.

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 0%, so the description carries the parameter burden, and it does: it establishes 1-based indexing and the valid range (n from 1 to 1000000), plus two concrete input/output examples (n=1 -> 1,2; n=5 -> 8,13). That is enough to call it correctly without guessing at off-by-one behavior, though it does not say what happens outside the range.

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 gives a concrete verb/resource pairing ('The nth Wythoff pair') and then pins the semantics down with a formula (lower = floor(n*phi), upper = lower+n) and two worked examples. That makes it distinguishable from single-value siblings like wythoff_lower and wythoff_upper, though it never names them explicitly as the alternative to calling both.

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?

Usage is implied rather than prescribed: the 1..1000000 domain and the examples show what inputs are valid, but there is no statement of when to reach for this versus wythoff, wythoff_lower, or wythoff_upper. An agent can infer this returns both components at once, but must do the inferring.

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