Skip to main content
Glama

ScorpTech x402 Tools

Cyclotomic

cyclotomic
Read-onlyIdempotent

The cyclotomic value Phi_n(a) for an integer a at least 2. Phi_1(2) is 1, Phi_5(2) is 31, Phi_6(3) is 7, and Phi_1(5) is 4. n runs from 1 to 40 and a from 2 to 20. Past 15 digits the value is a decimal string. Returns JSON with: n, a, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/cyclotomic

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>",
      "a": "<a>"
    },
    "name": "cyclotomic"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful behavioral details beyond that: the 15-digit threshold where the value becomes a decimal string, the returned JSON fields, the per-call price, and an HTTPS endpoint.

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 core operation and follows with examples, domains, output format, and payment details. It is compact overall, though four examples and the endpoint/price metadata make it slightly dense.

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 read-only tool with no output schema, the description covers the mathematical meaning, valid ranges, output shape, and the special decimal-string case past 15 digits. It does not describe error behavior or distinguish the tool from similar siblings, which keeps it from being fully complete.

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. It does so by defining Phi_n(a), giving the allowed ranges for n and a, and providing examples that map specific n and a values to results, though it does not separately label n as the order and a as the base.

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 clearly states that it computes the cyclotomic value Phi_n(a) for integer arguments and gives concrete examples. The purpose is specific, but it does not differentiate this tool from similarly named siblings such as cyclotomic_coeff or cyclotomic_height.

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?

The valid domains for n and a plus the examples imply when the tool is applicable, and the payment note signals a paid call. However, there is no explicit guidance on when to use this versus related cyclotomic tools or when not to use it.

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