Skip to main content
Glama

ScorpTech x402 Tools

Zeckendorf

zeckendorf
Read-onlyIdempotent

The Zeckendorf representation of n. Fibonacci numbers start F1 = 1, F2 = 1, F3 = 2, and no two used indices are consecutive. 4 is F4 + F2, and 100 is F11 + F6 + F4. n runs from 1 to 1000000000000. Returns JSON with: n, indices, parts, bits. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/zeckendorf

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": "zeckendorf"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely useful context the annotations cannot: a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. It stops short of covering failure/refund behavior or rate limits for a paid tool.

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 definition and examples come first, followed by the output shape, price and endpoint — a sensible front-loaded order. The range sentence duplicates the schema's minimum/maximum, and the Fibonacci indexing preamble is dense but earns its place by fixing the convention.

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, the description compensates by listing the return fields (n, indices, parts, bits), which is the key missing structural information. Pricing and the alternate HTTP endpoint round out what an agent needs. Only minor gaps remain, such as what 'parts' contains and payment failure handling.

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 description coverage is 0%, but there is only one parameter and the schema carries min/max constraints. The description restates the range (1 to 1000000000000) rather than adding new meaning, and it never explicitly defines n as the integer to be decomposed, though the surrounding examples make that inferable.

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 names the specific operation (the Zeckendorf representation of n) and even gives worked examples (4 = F4 + F2, 100 = F11 + F6 + F4), which pins down the exact convention used. It does not, however, distinguish this tool from close siblings such as zeckendorf_bits or zeckendorf_sum, even though it returns a 'bits' field that plausibly overlaps with the former.

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 only implied: an agent can infer this computes the representation for a given n within 1..1e12. There is no statement about when to prefer this over zeckendorf_bits or zeckendorf_sum, and no guidance on error conditions or what happens outside the stated range.

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