Skip to main content
Glama

ScorpTech x402 Tools

Sphenic

sphenic
Read-onlyIdempotent

Whether n is a product of three distinct primes. 30, 42, 66, and 70 are. 12 and 60 are not, because of the square factor. n runs from 1 to 1000000. Returns JSON with: n, factors, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/sphenic

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

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 safety is covered. The description adds genuinely useful context beyond them: the return shape (n, factors, value), a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint — real auth/cost behavior an agent needs. Minor gap: the 'value' field is not explained (presumably a boolean), and nothing is said about failure or payment-refusal behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core definition, then confirming and counter examples, then domain, then return shape and pricing. Every sentence carries information; nothing is repeated from the title or schema verbatim without adding meaning.

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 one-parameter predicate with no output schema, the description supplies the definition, input domain, return fields, and access/pricing details. There is nothing further an agent would need in order to invoke it correctly.

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 the load; it does state that n is the integer under test and repeats the 1–1000000 bound that the schema already enforces via minimum/maximum. It adds the semantic role of n but no format or edge-case detail (e.g. behavior at boundaries), so it only partially compensates.

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?

The description opens with a precise mathematical predicate: 'Whether n is a product of three distinct primes,' naming the exact property tested and even disambiguating with worked examples (30, 42, 66, 70 yes; 12, 60 no due to a square factor). That definition alone separates it from siblings like 'abundancy' or 'almost_perfect' without needing to name them.

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 only implied: the domain constraint 'n runs from 1 to 1000000' tells the agent when the input is valid, but there is no guidance on when to prefer this over a sibling predicate or what to do for n outside the range. The examples clarify intent but are not routing guidance.

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