Skip to main content
Glama

ScorpTech x402 Tools

Cyclotomic One

cyclotomic_one
Read-onlyIdempotent

Phi_n(1). It is 0 when n is 1. When n is a power of a prime p, it is p. Otherwise it is 1. Phi_4(1) is 2, Phi_6(1) is 1, and Phi_9(1) is 3. n runs from 1 to 1000000. 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/cyclotomic-one

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

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 mark this as read-only, idempotent, open-world and non-destructive. The description adds real context beyond them: per-call price, x402 payment rail, HTTPS endpoint, and returned JSON keys n and value. It still omits failure or payment-error 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 formula is front-loaded, followed by case analysis, examples, range, return shape, and payment details. It is dense but has no filler; the price and endpoint tail is useful though somewhat disruptive to the mathematical flow.

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?

For a single-parameter pure function with no output schema, the description supplies the domain, exact behavior, examples, return keys, cost, and endpoint. Combined with the safety annotations, it gives an agent enough to invoke the tool correctly.

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?

Although schema description coverage is 0%, the description defines the parameter's domain and meaning through the Phi_n notation, the range, and worked examples. It does not spell out “n is the polynomial index” in prose, so it falls short of perfect clarity.

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 specifies the computed quantity as Phi_n(1) and enumerates the exact value cases, so an agent can identify it as evaluating the nth cyclotomic polynomial at 1. It is specific but does not explicitly contrast with sibling cyclotomic tools.

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?

It gives the valid n range and pricing, but no when-to-use or when-not-to-use guidance relative to cyclotomic, cyclotomic_coeff, cyclotomic_height, or other siblings. The choice must be inferred from the formula alone.

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