Skip to main content
Glama

ScorpTech x402 Tools

Fibbinary Count

fibbinary_count
Read-onlyIdempotent

How many fibbinary numbers from 0 through n there are. Through 0 there is 1, through 2 there are 3, through 3 there are 3, through 5 there are 5, through 10 there are 8, and through 21 there are 13. 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-count

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior. The description adds value beyond that: output shape (JSON with n and value), the pricing model ($0.001 USDC per successful call via x402 on Base or Solana), and the equivalent HTTPS endpoint. It does not mention failure or payment-failure behavior, but for a pure computation this is solid.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core definition is front-loaded in the first sentence, the examples compactly disambiguate the boundary convention, and the range, return shape, pricing, and endpoint follow in a tight sequence. No sentence is wasted.

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 single-parameter pure function with no output schema, the description supplies everything needed: input domain, inclusive counting semantics demonstrated by examples, exact return fields, and payment/transport details. Nothing an agent needs to invoke it correctly is missing.

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 must carry the parameter meaning, and it does: n runs from 0 to 1000000, matching the schema bounds, and the worked examples pin down that the count is inclusive of n. It does not state that n must be an integer, but that is minor and visible in the schema type.

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 first sentence states a specific verb and resource: count how many fibbinary numbers exist from 0 through n, which is clearly distinct from fibbinary (list values) or fibbinary_nth (return a value). It stops short of explicitly naming a sibling tool or contrasting behavior, so it is clear but not sibling-differentiating at the highest level.

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 by the definition and boundary examples (through 0 = 1, through 3 = 3), which tell an agent this is an inclusive cumulative count. There is no explicit when-to-use or when-not-to-use guidance versus fibbinary or fibbinary_index.

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