Skip to main content
Glama

ScorpTech x402 Tools

Home Prime

home_prime
Read-onlyIdempotent

The home prime of n. 2 stays 2, 4 becomes 211, 10 becomes 773, and 16 becomes 31636373. The search stops after 20 steps or 12 digits. n runs from 2 to 10000. 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/home-prime

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), and the description adds the key behavioral fact that is not in the schema: the search truncates after 20 steps or 12 digits, so the returned value may be an incomplete home prime. It also discloses cost and an alternative transport. It stops short of saying what happens at truncation (error vs partial value).

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?

It is front-loaded: the concept, examples, and search limits come before pricing and the HTTPS pointer, so an agent gets the essential semantics immediately. The pricing and URL sentences are a little operational but each is short and serves a distinct purpose.

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 one-parameter computational tool with no output schema, the description supplies input bounds, an explicit return shape (JSON with n and value), and the truncation rule that governs edge-case results. The one gap is that it does not describe the factorize-and-concatenate procedure, so an agent cannot predict whether a given n will hit the step or digit cap.

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 coverage is 0% for the single parameter, so the description carries the burden; it explains that n is the starting integer and reiterates the bound 2 to 10000, which merely restates the schema's minimum/maximum. The examples implicitly clarify that n is the seed of the factorization-and-concatenate process, but the description never states that process directly.

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?

It states a specific computation ('the home prime of n') and anchors it with worked examples (4 becomes 211, 10 becomes 773, 16 becomes 31636373) that remove any ambiguity about what is computed. It does not explicitly distinguish itself from near-siblings such as home_prime_len or home_prime_steps, which likely share the domain but return different outputs.

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?

There is no when-to-use or when-not guidance, and no pointer to the sibling tools that compute related quantities. The pricing note and HTTPS mirror are operational context, not selection guidance for choosing between this and home_prime_len or home_prime_steps.

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