Skip to main content
Glama

ScorpTech x402 Tools

Stirling1 Row

stirling1_row
Read-onlyIdempotent

Row n of the signed Stirling numbers of the first kind, from s(n, 0) through s(n, n). The absolute values sum to n!. Row 4 is 0, -6, 11, -6, 1. n runs from 0 to 64. Returns JSON with: n, row, factorial. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/stirling1-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": "stirling1_row"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses a paid x402 endpoint with a concrete price ($0.001 USDC per successful call on Base or Solana), the derivation formula (absolute values sum to n!), the accepted domain for n (0 to 64), and the exact JSON fields returned (n, row, factorial). Annotations already cover readOnly/idempotent/non-destructive, so this payment and output-shape context is the value-add an agent needs before calling.

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?

One tight paragraph, front-loaded with the mathematical definition, then a sample row, then the domain, then return fields, then price and transport. Every sentence supplies a fact an agent would otherwise have to guess.

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 tool with no output schema, the description supplies the input domain, an example output row, the named return fields, and the payment requirement. Nothing material for correct invocation 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 meaning of n. It does: n indexes the row, spans 0 through 64, and a worked example ('Row 4 is 0, -6, 11, -6, 1') anchors the numbering and sign convention that the bare integer schema cannot convey.

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 and resource: 'Row n of the signed Stirling numbers of the first kind, from s(n, 0) through s(n, n).' The words 'signed' and 'row' implicitly separate it from stirling1_unsigned and stirling1, but no sibling is named explicitly, so differentiation is left partly to inference.

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 of the returned range and by the pricing/HTTPS note, which tells the agent an HTTP alternative exists. There is no explicit 'use this when… / use X instead when…' guidance and no stated preconditions for choosing between the row tool and the single-value siblings.

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