Skip to main content
Glama

ScorpTech x402 Tools

Cyclotomic Coeff

cyclotomic_coeff
Read-onlyIdempotent

The coefficient of x^k in Phi_n. Phi_6 has coefficients 1, -1, 1, so k=1 is -1. The coefficient of x^7 in Phi_105 is -2. k past the degree is rejected. n runs from 1 to 120. Returns JSON with: n, k, 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-coeff

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>",
      "k": "<k>"
    },
    "name": "cyclotomic_coeff"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds meaningfully beyond them: an explicit error condition ('k past the degree is rejected'), the n domain, the exact return fields, and a per-call monetization model (x402, $0.001 USDC on Base or Solana). The payment requirement and the HTTPS fallback endpoint are behavioral facts an agent cannot get from the schema or annotations.

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 and every sentence is short and functional; the examples do real disambiguation work. The pricing and alternate-endpoint sentences are invocation-relevant but read as appended boilerplate, slightly diluting the mathematical core.

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 two-parameter, side-effect-free math lookup with no output schema, the description supplies the domain, the rejection rule, the return shape ('n, k, value'), and the access/payment model. Nothing needed to call it correctly is missing.

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%, so the description carries the burden and does so: it defines n's domain (1–120), explains what k indexes (exponent of x in Phi_n), shows concrete k/result pairs, and clarifies that k beyond the polynomial's degree is rejected even though the schema permits k up to 120. It does not explicitly restate the k=0 constant-term case, which keeps it just short of the top score.

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?

Names a precise mathematical verb+resource: 'The coefficient of x^k in Phi_n', then pins it down with two worked examples (Phi_6 at k=1 is -1; x^7 in Phi_105 is -2). An agent can tell this apart from the sibling cyclotomic/cyclotomic_height tools because it returns a single coefficient rather than a polynomial or a derived invariant.

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?

Gives hard operating bounds ('n runs from 1 to 120', 'k past the degree is rejected'), which implies valid usage, but never states when to prefer this over siblings such as cyclotomic (full polynomial) or cyclotomic_height. The agent must infer the routing from the name and examples 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