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. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or 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 readOnly, idempotent, and non-destructive behavior, so the description is free to add the traits that matter here: output formatting switches to a decimal string past 15 digits, the response is JSON with n and value, and each successful call costs $0.001 USDC via x402 on Base or Solana. That pricing/auth detail is exactly the kind of behavior an agent cannot get from annotations. It stops short of describing failure or payment-failure behavior.

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 definition is front-loaded with the mathematical definition and examples, then moves to domain, return shape, and cost. It is dense but every clause is functional; the only mild redundancy is restating the 0-to-100 range that the schema already enforces.

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?

With one required integer parameter, no output schema, and full annotation coverage, the description supplies what is missing: return shape (n, value), large-value formatting, price, and an alternate endpoint. Complete for this tool's complexity, with only edge-case or error behavior unaddressed.

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%, so the description must carry parameter meaning. It does explain that n is the number of objects with the range 0 to 100 and supplies sample values, but the range merely mirrors the schema's minimum/maximum and no format or type nuance is added beyond that.

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 quantity (the number of involutions of n objects) and backs it with base cases, a recurrence, and worked examples (I(5)=26, I(10)=9496), so an agent knows precisely what is computed. It does not distinguish itself from the similarly named siblings involution_fixed, involution_mod, or involution_sum, leaving variant selection 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 rather than stated: the input domain (n from 0 to 100) tells an agent when the tool is applicable, and the HTTPS endpoint offers an alternative transport. There is no explicit guidance about when to prefer this tool over the involution_* variants or any exclusions.

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