Skip to main content
Glama

ScorpTech x402 Tools

Fubini

fubini
Read-onlyIdempotent

The nth Fubini number, the ordered partitions of an n-element set. a(0) is 1, a(2) is 3, a(3) is 13, and a(5) is 541. n runs from 0 to 20. 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/fubini

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description still adds real behavioral detail: cost of $0.001 USDC per successful call via x402 on Base or Solana, and the fact that values beyond 15 digits are returned as decimal strings. That pricing and encoding detail is exactly the kind of context structured fields cannot carry; only error/failure behavior is left unstated.

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 is front-loaded, and each sentence adds something (definition, examples, range, return encoding, price, alternate endpoint). It reads as a run of short clipped sentences rather than flowing prose, but nothing is redundant enough to warrant cutting.

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 naming the returned JSON fields (n, value) and explaining the string encoding for large results. Combined with the stated bounds and pricing, an agent has everything needed to call this single-parameter tool correctly; only error-case behavior is unaddressed.

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 burden, and it does: it defines n as the size of the set whose ordered partitions are counted and supplies four concrete sample values mapping n to result. The range '0 to 20' duplicates the schema's minimum/maximum, but the semantic definition and examples go beyond it.

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 a specific mathematical object ('The nth Fubini number, the ordered partitions of an n-element set'), which is unambiguous about what is computed. It does not, however, distinguish itself from siblings like fubini_mod or fubini_sum, so an agent must infer the difference from names alone.

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 context is implied by the worked examples (a(0)=1, a(2)=3, a(3)=13, a(5)=541) and the stated domain 'n runs from 0 to 20'. There is no explicit when-to-use or when-not-to-use guidance relative to the sibling tools, so the agent gets examples rather than routing rules.

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