Skip to main content
Glama

ScorpTech x402 Tools

Betrothed

betrothed
Read-onlyIdempotent

Whether n and m are betrothed: the sum of proper divisors of n is m+1, and the sum for m is n+1, with m different from n. 48 pairs with 75, and 140 pairs with 195. The partner is 0 when n is not betrothed. n runs from 1 to 100000. Returns JSON with: n, partner, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/betrothed

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description usefully adds the partner=0 sentinel for non-betrothed inputs, the exact return fields, and the $0.001 per-call x402 pricing with an HTTPS fallback — real behavioral context beyond the annotations, though nothing on error or failure-charging behavior.

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 defining formula, then examples, then output shape and cost — logical ordering with no filler. Slightly dense with the pricing/transport sentence, but every clause conveys new information.

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 single-parameter pure-computation tool with no output schema, the definition supplies the computation, the sentinel value, the result fields, the valid domain, and cost/transport details. Only failure modes and the integer type constraint are left implicit.

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 carries the burden; it states n runs 1 to 100000 and that the partner is returned, which partly compensates. However it never states that n must be an integer or what happens at the boundary, leaving the sole parameter only partially characterized.

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 gives a precise mathematical definition (sum of proper divisors of n equals m+1 and vice versa, with m ≠ n), plus concrete worked examples (48↔75, 140↔195), so the agent knows exactly what is computed. It does not name a sibling for contrast, but the predicate is unambiguous on its own.

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 rather than stated: pass an integer n and get its partner or 0. There is no explicit guidance on when to prefer this over related siblings such as 'amicable' or 'abundancy', nor any note on the 1–100000 bound being a hard rejection rather than a clamp.

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