Skip to main content
Glama

ScorpTech x402 Tools

Radical

radical
Read-onlyIdempotent

The radical of n, the product of its distinct prime factors. rad(1) is 1, rad(12) is 6, and rad(36) is 6. n runs from 1 to 1000000000000. 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/radical

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely non-obvious operational behavior: the input domain ceiling, the JSON return fields (n, value), a per-successful-call price of $0.001 USDC via x402 on Base or Solana, and a direct HTTPS endpoint. It does not disclose behavior on payment failure or invalid input, which keeps it short of a 5.

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?

Front-loaded with the definition and examples, then domain, then return shape, then cost and alternate transport — a sensible descending order of importance. Every sentence carries information, though the pricing and endpoint details make it denser than the bare math warrants.

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 one-parameter, deterministic numeric tool with no output schema, the description supplies the operation, examples, domain, and return fields, which is enough to invoke it correctly. The only missing piece is failure/edge-case behavior, which is minor given the annotations already mark it as a safe read.

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% for the single parameter n, so the description must carry the meaning — and it does, defining n as the argument of the radical function and stating its valid range, which reinforces the schema's minimum/maximum. It stops short of 5 only because the correspondence between the returned 'n' and the input n is not spelled out.

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?

States the exact mathematical operation ('the radical of n, the product of its distinct prime factors') with worked examples for rad(1), rad(12), and rad(36), so the agent knows precisely what is computed without opening the schema. It is unambiguously distinguishable from the sibling arithmetic tools, which each define a different function.

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 domain constraint ('n runs from 1 to 1000000000000') and by naming the HTTPS equivalent, but there is no explicit when-to-use or when-not-to-use guidance relative to siblings such as abundancy or arithmetic_count. For a single-purpose math function this is largely self-evident, so the gap is minor.

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