Skip to main content
Glama

ScorpTech x402 Tools

Biunitary Count

biunitary_count
Read-onlyIdempotent

How many bi-unitary divisors n has. 1 has 1, 4 and 9 have 2, 8 has 4, and 16 has 4. n runs from 1 to 1000000. 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/biunitary-count

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: the paid model ($0.001 USDC per successful call via x402 on Base or Solana) and an equivalent HTTPS endpoint, which affects how an agent should plan the call.

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 core question and concrete examples, then the domain, return shape, and payment details. Dense with no filler, though the pricing and endpoint clauses slightly dilute focus for an agent that only needs the arithmetic definition.

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?

There is no output schema, and the description compensates by stating 'Returns JSON with: n, value'. Combined with the input domain, example outputs, and payment/logistics details, an agent has enough to call it correctly; only the underlying definition of bi-unitary divisibility remains unstated.

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%, so the description must carry the parameter, and it does partially: it gives the domain ('n runs from 1 to 1000000') and examples mapping specific n values to results. However, the range merely restates the schema's minimum/maximum, and the meaning of 'bi-unitary divisor' itself is left unexplained, so the added semantics are only moderate.

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 specific verb and resource ('How many bi-unitary divisors n has') and backs it with worked examples (1→1, 4→2, 8→4, 16→4) that make the mathematical notion concrete. It does not distinguish itself from conceptual neighbors like divisor_count or infinitary_count, so an agent must already know what 'bi-unitary' means to pick correctly.

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 only implied: the description makes clear this is a per-integer counting query over 1..1000000, but never says when to choose it over siblings such as divisor_count or biunitary_sigma, nor any prerequisite beyond the valid 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