Skip to main content
Glama

ScorpTech x402 Tools

Wythoff Lower

wythoff_lower
Read-onlyIdempotent

The lower Wythoff number floor(n*phi), phi the golden ratio. n=1 gives 1, n=2 gives 3, n=5 gives 8, and n=10 gives 16. n runs from 1 to 1000000. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/wythoff-lower

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_lower"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing the cost model ($0.001 USDC per successful call, x402 on Base or Solana) and an alternate HTTPS endpoint. That payment/auth detail is exactly the kind of behavioral fact an agent cannot get from structured fields and would otherwise discover only by failing.

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?

Front-loaded with the formula, then examples, then range, then return fields, then pricing and endpoint — each sentence carries distinct information. Slightly dense with the pricing/URL appended, but nothing is redundant.

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 one-argument deterministic math function with no output schema, the description covers the definition, valid input range, example outputs, returned JSON fields (n, value), and access/payment mechanics. An agent has everything needed to call it correctly on the first attempt.

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% — the single parameter 'n' carries only numeric bounds, no description. The description compensates by defining n as the index, stating the valid range 1..1000000, and giving four input/output pairs that pin down the semantics of the argument.

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 the exact mathematical operation ('the lower Wythoff number floor(n*phi)') with concrete worked examples (n=1 gives 1, n=2 gives 3, n=5 gives 8, n=10 gives 16). The word 'lower' plus the floor formula cleanly distinguishes it from the sibling wythoff_upper without needing to name it.

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?

The domain (index n from 1 to 1000000) and the output shape imply when the tool applies, but there is no explicit routing guidance such as 'for floor(n*phi^2) use wythoff_upper' or 'for reverse lookup use wythoff_inverse'. Usage is inferable from the definition rather than stated.

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