Skip to main content
Glama

ScorpTech x402 Tools

Bell

bell
Read-onlyIdempotent

The nth Bell number, the number of partitions of a set of n objects. B(0) and B(1) are 1, and B(5) is 52. 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/bell

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Well beyond the annotations, the description discloses the return shape (JSON with n, value), the special formatting rule that values past 15 digits come back as a decimal string, the cost ($0.001 USDC per successful call via x402 on Base or Solana), and an equivalent HTTPS endpoint. These are meaningful operational facts that annotations cannot convey. The only omission is the failure behavior for an invalid n.

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?

It is dense and front-loaded: the core definition and examples come first, followed by range, return format, pricing, and endpoint. Every sentence carries information, though the pricing and HTTPS details make the tail slightly cluttered for a single-purpose math tool.

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 and zero schema coverage, the description supplies what is missing: return fields, large-value formatting, cost, and range. It is essentially complete for calling the tool correctly, falling just short on error semantics for invalid n.

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 must carry the parameter, and it does: it explains what n means (objects in the set), restates the 0-80 domain with concrete sample values, and clarifies that large results are returned as strings. That substantially compensates for the bare schema, though it does not explain the error path for out-of-range input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the specific mathematical object ('the nth Bell number, the number of partitions of a set of n objects') and reinforces it with concrete values (B(0)=B(1)=1, B(5)=52). An agent can immediately tell this computes a single Bell number rather than a sum or a related sequence like bell_sum or lynch_bell.

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 only implied: the definition gives examples and a valid range, so it is clear when the tool applies, but it never states when to prefer a sibling (bell_sum, lynch_bell) or what to do outside n=0..80. There are no explicit exclusions or alternative routing.

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