Skip to main content
Glama

ScorpTech x402 Tools

Ore

ore
Read-onlyIdempotent

Whether n is an Ore number: n times the divisor count is divisible by sigma(n), so the harmonic mean of the divisors is an integer. 1 gives 1, 6 gives 2, and 140 gives 5. 10 does not. The mean is 0 when n is not an Ore number. n runs from 1 to 100000. Returns JSON with: n, mean, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/ore

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower, and the description still adds real behavior: the valid domain (1 to 100000), the sentinel convention that the mean is 0 for non-Ore inputs, the returned JSON fields (n, mean, value), and the paid x402 invocation model with a per-call price. It does not explain error handling or payment failure behavior, keeping 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.

Conciseness5/5

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

The definition is front-loaded with the mathematical property and examples before moving to mechanics (return fields, pricing, endpoint). Sentences are short and each carries information, with only mild redundancy in restating the 1-to-100000 bound already present in the schema.

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?

With no output schema, the description correctly supplies the return shape (n, mean, value) and the non-Ore edge case, plus range, cost, and an HTTPS fallback — enough for an agent to call it and interpret results. Minor gap: the distinction between the 'mean' and 'value' fields and the boolean nature of 'value' is not spelled out.

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 the load, and it does explain that n is the integer under test and that it runs from 1 to 100000, matching the schema bounds. It adds semantic meaning (n is the candidate Ore number) beyond the bare integer constraint, though it does not discuss what happens at boundary values.

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 opens with a precise predicate: 'Whether n is an Ore number', then grounds it mathematically (n times divisor count divisible by sigma(n), harmonic mean of divisors is an integer). It gives concrete outputs (1 gives 1, 6 gives 2, 140 gives 5, 10 does not), so an agent knows exactly what is being computed. It never names or contrasts the nearby siblings (harmonic, abundancy, arithmetic_mean), so the differentiation is implicit rather than stated.

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 predicate framing and the worked examples, but there is no explicit when-to-use or when-not-to-use guidance and no reference to an alternative tool for related classifications. An agent must infer that this is for testing a single integer against the Ore property rather than for scanning a range.

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