Skip to main content
Glama

ScorpTech x402 Tools

Zeckendorf Sum

zeckendorf_sum
Read-onlyIdempotent

Sum Fibonacci numbers by index, using F1 = 1 and F2 = 1. Indices must be at least 2 and no two may be consecutive. Indices 11, 6, and 4 sum to 100. An empty list is rejected. At most 64 indices, each at most 512. Returns JSON with: indices, parts, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/zeckendorf-sum

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": {
      "indices": "<indices>"
    },
    "name": "zeckendorf_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
indicesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses the payment requirement and price (x402, Base or Solana), the HTTPS endpoint equivalent, the rejection of empty input, and the returned fields. That is exactly the kind of auth/cost/error context annotations cannot convey.

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 semantics and constraints are front-loaded, followed by return values, then pricing and endpoint. Dense but nearly every clause earns its place; the example ('11, 6, and 4 sum to 100') efficiently conveys the non-consecutive rule.

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 single-parameter computation tool with no output schema, the description covers constraints, error behavior, output fields, and cost. The only remaining gap is that 'parts' in the response is named but not explained.

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?

With 0% schema description coverage, the description carries the burden and does so: it explains index lower bound (2, stricter than the schema's minimum of 0), the non-consecutive rule, the 64-item cap, and the 512 per-index cap, plus a worked example. It stops short of clarifying the output's 'parts' element, so it is strong but not complete.

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 specific verb and resource ('Sum Fibonacci numbers by index') plus the exact convention used (F1 = 1, F2 = 1), which is essential to disambiguate the result. It does not explicitly contrast itself with the sibling 'zeckendorf' tool, so an agent must infer the difference between summing an index list and Zeckendorf representation.

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?

Preconditions are stated clearly (indices at least 2, no two consecutive, max 64 items, empty list rejected), which is real invocation guidance. However, there is no statement of when to choose this tool over the many sibling *_sum or 'zeckendorf' tools, leaving alternative selection to inference.

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