Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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 mark the tool as read-only, idempotent, non-destructive, and open-world. The description adds useful behavioral context not in the annotations, notably the search stopping condition (20 steps or 12 digits) and the per-call price, though it does not clarify what is returned if the search limit is reached.

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 description is short, front-loaded, and mostly free of waste. The examples, search limits, range, and payment details all serve a purpose, though the opening phrase could more explicitly state the action being performed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter mathematical tool with rich annotations, the description covers input range, examples, and search limits. However, with no output schema, it does not fully specify the return value or what happens if the 20-step/12-digit limit is reached, leaving an important behavioral gap.

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 meaning of n. It states the valid range 2 to 10000 and gives worked examples mapping inputs to outputs, which meaningfully supplements the bare integer schema.

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 identifies the specific mathematical resource (the home prime of n) and clarifies it with worked examples such as 4 -> 211 and 10 -> 773. It does not explicitly differentiate from nearby sibling tools like home_prime_len or home_prime_steps, keeping it below a 5.

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 input range and search limits but does not say when to use this tool versus alternatives such as home_prime_len, home_prime_steps, or home_grows. The agent is left to infer its role 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