Skip to main content
Glama

ScorpTech x402 Tools

Fine

fine
Read-onlyIdempotent

The nth Fine number. F(0) is 1, F(1) is 0, F(2) is 1, and F(6) is 57. For n at least 1, F(n) = C(n) - sum of C(i)*F(n-1-i) over i from 0 to n-1, with C the Catalan numbers. n runs from 0 to 80. Past 15 digits the value is a decimal string. 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/fine

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavior beyond them: the pricing model ($0.001 USDC per successful call via x402 on Base or Solana) and the alternative HTTPS endpoint. The >15-digit decimal-string formatting is also disclosed. It stops short of noting failure/refund behavior for paid calls, which keeps it at 4.

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 answer ('The nth Fine number'), then values, recurrence, range, output shape, and cost in a compact sequence. The formal recurrence is dense but earns its place for verification; nothing is clearly padded, though the mix of math and commerce in one paragraph is a bit busy.

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 numeric tool with no output schema, it supplies the input domain, the value convention (decimal string past 15 digits), the return shape ('n, value'), the per-call price, and a fallback transport. 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%, so the description carries the burden, and it does add meaning: n is an index into the Fine sequence, bounded 0-80, with worked examples at 0, 1, 2, and 6 that let the agent sanity-check inputs. The base recurrence is spelled out for verification. Slight deduction since the description adds little about error behavior for out-of-range n beyond the schema's minimum/maximum.

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?

States a specific verb+resource ('The nth Fine number') and seeds it with concrete values F(0)=1, F(1)=0, F(2)=1, F(6)=57 plus the defining recurrence, so the agent can confirm which sequence is meant. It does not name or contrast with likely siblings such as fine_sum or catalan, so differentiation is left implicit.

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 rather than stated: the n range 0-80 and the decimal-string rule past 15 digits signal the valid domain, but there is no explicit 'when to use this vs fine_sum' or when-not guidance. An agent can infer applicability but must guess about alternatives.

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