Skip to main content
Glama

ScorpTech x402 Tools

Involution

involution
Read-onlyIdempotent

The number of involutions of n objects. I(0) and I(1) are 1, and I(n) = I(n-1) + (n-1)*I(n-2). I(5) is 26, and I(10) is 9496. n runs from 0 to 100. Past 15 digits the value is a decimal string. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/involution

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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, and open-world behavior. The description adds useful behavioral context beyond annotations: n is capped at 100, results past 15 digits are returned as a decimal string, and each successful call costs $0.001 USDC via x402 on Solana.

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 core definition and recurrence, followed by examples, bounds, output formatting, and operational details. It is dense but every sentence adds either mathematical or invocation-relevant information.

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 single-parameter math tool with no output schema, the description covers the domain, expected output format for large values, pricing, and an alternate HTTPS endpoint. It is nearly complete, though it omits explicit sibling differentiation and error behavior for invalid or out-of-range inputs.

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 compensate, and it does: it defines n as the number of objects, gives the valid range 0–100, and provides worked examples for n=5 and n=10. It does not explicitly restate that n is an integer, but the schema covers type constraints.

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 the specific computation clearly: the number of involutions of n objects, including the recurrence and concrete examples I(5)=26 and I(10)=9496. It does not explicitly differentiate from sibling variants such as involution_fixed, involution_mod, or involution_sum, so it falls 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?

The description explains the mathematical definition and valid n range but gives no guidance on when to use this tool versus sibling alternatives. There are no exclusions or routing hints even though involution_fixed, involution_mod, and involution_sum exist.

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