Skip to main content
Glama

ScorpTech x402 Tools

Rising

rising
Read-onlyIdempotent

The rising factorial n^(k) = n*(n+1)...(n+k-1). 5^(3) is 210, and 5^(0) is 1. n runs from 0 to 100000 and k runs from 0 to 512. Past 15 digits the value is a decimal string. Returns JSON with: n, k, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/rising

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

Input Schema

NameRequiredDescriptionDefault
kYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld), the description discloses the payment model ($0.001 USDC per successful call via x402 on Base or Solana) and an alternate HTTPS endpoint, which is exactly the kind of auth/cost context annotations cannot convey. It also states the output-shape threshold (past 15 digits the value becomes a decimal string), removing a real surprise for large results.

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?

Every sentence carries distinct payload: definition, examples, domains, output-format threshold, return fields, price, alternate endpoint. It is front-loaded with the mathematical identity so the agent can decide relevance immediately, with no filler.

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?

There is no output schema, yet the description specifies the returned JSON fields (n, k, value) and the string-vs-number formatting rule. Combined with domain limits and cost, nothing material is missing for a two-parameter pure-computation tool.

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 parameter meaning, and it does: n and k are named with their meanings, their full valid ranges, and what k represents in the factorial notation. The only shortfall is that the ranges restate the schema's minimum/maximum rather than adding new detail such as behavior at the boundary values.

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 gives the exact mathematical definition (n^(k) = n*(n+1)*...*(n+k-1)) plus concrete examples (5^(3)=210, 5^(0)=1), which unambiguously identifies the operation and its edge-case convention. An agent can tell this apart from a plain factorial or alt_factorial sibling without opening the schema.

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 rather than stated: the definition and worked examples make clear when the tool applies, and the stated domains (n 0-100000, k 0-512) bound valid calls. However, there is no explicit when-to-use / when-not-to-use guidance and no routing to alternatives such as alt_factorial, so the agent must infer selection from the math itself.

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