Skip to main content
Glama

ScorpTech x402 Tools

Fibbinary

fibbinary
Read-onlyIdempotent

Whether the binary expansion of n has no two adjacent 1 bits. 0, 1, 2, 5, 10, and 21 do. 3, 6, and 7 do not. n runs from 0 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/fibbinary

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety is covered. The description adds genuinely non-obvious behavior: the accepted input domain (n from 0 to 1000000), the response fields, a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS POST endpoint — all things structured fields do not 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 predicate is front-loaded, then examples, then domain, return shape, price, and endpoint — each sentence earns its place and nothing is buried. The one soft spot is the 'value' field, which is never defined (presumably a boolean), leaving a small ambiguity in an otherwise tight statement.

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 must explain returns and does ('n, value'), plus it discloses cost and the HTTP alternative, which are essential for an agent deciding whether to pay. Completeness is only slightly undercut by not stating that 'value' is a boolean or what a failed/non-paid call looks like.

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 description coverage is 0%, so the description carries the burden and does so: it identifies n as the integer whose binary expansion is examined and restates the 0–1000000 domain. The only shortfall is that 'runs from 0 to 1000000' merely mirrors the schema's min/max rather than adding new constraint detail.

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 definition states a precise predicate: whether the binary expansion of n has no two adjacent 1 bits, backed by positive examples (0, 1, 2, 5, 10, 21) and negative ones (3, 6, 7). The word 'Whether' frames a yes/no membership test, which implicitly separates it from siblings like fibbinary_count or fibbinary_nth, but no sibling is named explicitly.

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 when-to-use or when-not-to-use guidance and no named alternative among fibbinary_count, fibbinary_index, fibbinary_next, or fibbinary_nth. The worked examples hint at the domain (testing membership in the fibbinary sequence), but an agent must infer when this predicate is the right choice.

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