Skip to main content
Glama

ScorpTech x402 Tools

Stirling1 Rec

stirling1_rec
Read-onlyIdempotent

One step of s(n, k) = s(n-1, k-1) - (n-1)*s(n-1, k). For n = 5 and k = 2, the previous term is -6, the scaled term is 44, and the value is -50. n runs from 1 to 64 and k from 1 to n. Returns JSON with: n, k, left, scaled, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/stirling1-rec

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>",
      "k": "<k>"
    },
    "name": "stirling1_rec"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior. The description adds useful context beyond that: the x402 price, HTTPS endpoint, return fields, and numeric bounds. It does not discuss failure modes or rate limits, but the added cost and return details are substantive.

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?

The description is front-loaded with the formula, then the example, bounds, return shape, and access details. It is dense but every sentence contributes useful information, with no filler.

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?

For a two-parameter math tool with no output schema, the description supplies the recurrence, bounds, example, return field names, and pricing/endpoint. It could be more complete by explaining the left/scaled fields explicitly and by differentiating sibling tools, but the core call information is present.

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 coverage is 0%, so the description must carry parameter meaning. It adds the important k ≤ n constraint and a worked example, but it does not explicitly define n and k beyond the recurrence notation. That is partial compensation, not full.

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 identifies a specific computation—one recursive step of the signed Stirling-first-kind recurrence—and gives the formula plus a worked example. It does not explicitly distinguish this from sibling tools such as stirling1 or stirling1_row, so it stops short of 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the valid n/k ranges and shows an example, but gives no guidance on when to use this one-step tool versus full-value or row siblings. The agent must infer the use case from the name and formula.

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