Skip to main content
Glama

ScorpTech x402 Tools

Stirling2 Row

stirling2_row
Read-onlyIdempotent

Row n of Stirling numbers of the second kind, from S(n,0) through S(n,n), plus the Bell number that sums the row. n runs from 0 to 80. Past 15 digits an entry is a decimal string. Returns JSON with: n, row, bell. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/stirling2-row

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

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 read-only, idempotent, non-destructive and open-world status, so the description earns credit for adding what they cannot: a per-call price of $0.001 USDC billed only on success, the x402 payment rails (Base or Solana), and an equivalent HTTPS endpoint. It also discloses numeric rendering ('past 15 digits an entry is a decimal string'), which is real behavioral detail an agent needs. Remaining gaps around payment failure handling and rate limits keep 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?

The core definition is front-loaded in the first sentence, followed by bounds, formatting rule, return keys, price, and transport alternative. Every sentence carries information, though the pricing and endpoint lines make it read as a service listing rather than a pure tool description.

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?

With no output schema, the description supplies the return keys (n, row, bell), the domain bounds, and the big-integer serialization rule, which is exactly what an agent needs to interpret the response. Cost and alternate transport are also stated, so nothing material is missing for a single-parameter computational tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the single parameter carries no free-form ambiguity: the schema already fixes type, minimum 0 and maximum 80. The description restates the 0–80 range and adds the meaning that n selects the row index, which is modest added value rather than compensation for a documentation gap.

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 the exact mathematical object and the full output span: 'Row n of Stirling numbers of the second kind, from S(n,0) through S(n,n), plus the Bell number that sums the row.' That scope definition distinguishes it from a single-value sibling or a Bell-number-only sibling without naming them. It stops short of explicit sibling differentiation, so a 4 rather than a 5.

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 mathematical definition and bounded by 'n runs from 0 to 80,' and the cost/alternate-endpoint lines tell the agent how to access it. There is no explicit when-to-use or when-not-to-use guidance against siblings such as stirling2 or bell, so the agent must infer that this is the row-level variant.

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