Skip to main content
Glama

ScorpTech x402 Tools

Home Grows

home_grows
Read-onlyIdempotent

Whether the home prime of n has more digits than n. 4, 6, and 10 do. 2 and 21 do not. A chain past 20 steps or 12 digits is rejected. 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-grows

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_grows"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/non-destructive safety, but the description adds genuinely new behavior: rejection thresholds (20 steps or 12 digits), the input domain, the shape of the returned JSON, and — critically — that each successful call costs $0.001 USDC via x402 and that an identical HTTPS endpoint exists. Payment cost and rejection semantics are things an agent cannot get from annotations or schema.

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?

Front-loaded with the predicate, then examples, then constraints, then return/pricing/endpoint. Every sentence carries information; the pricing and URL lines are slightly operational but still earn their place for an agent deciding whether to call.

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 single-integer predicate tool with no output schema, the description covers input domain, edge-case rejection, the boolean result and its field names, cost, and an alternate transport. Nothing an agent needs to invoke it correctly is missing, though the underlying 'home prime' algorithm is assumed known.

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 carries the burden. It restates the domain (2 to 10000) and, more importantly, embeds the parameter's meaning in the predicate itself — n is the integer whose home prime digit count is being compared. Only the exact integer semantics of n as input are implicit rather than spelled out.

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?

States a precise boolean predicate over a named mathematical concept ('whether the home prime of n has more digits than n'), which is clearly distinct from siblings like home_prime, home_prime_len, and home_prime_steps. It never explicitly contrasts itself with those siblings, so it stops short of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides concrete worked outcomes (4, 6, 10 return true; 2 and 21 return false), the valid input domain, and the chain/digit cutoff where the computation is rejected. However, it gives no explicit guidance on when to prefer this over the closely related home_prime_* tools, leaving routing to inference.

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