Skip to main content
Glama

ScorpTech x402 Tools

Highly Composite

highly_composite
Read-onlyIdempotent

Whether n is highly composite: it has strictly more divisors than every smaller positive integer. 1, 2, 6, 12, 60, and 5040 are. 3 and 30 are not. n runs from 1 to 20000. 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/highly-composite

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the return shape (JSON with n and value), the per-call price ($0.001 USDC), the payment protocol (x402 on Base or Solana), and an equivalent HTTPS endpoint. That payment/cost disclosure is material behavior an agent cannot get from readOnlyHint/idempotentHint alone.

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 definition, then examples, then range, then return/pricing/endpoint — a sensible ordering. The paired positive/negative examples are slightly verbose but genuinely disambiguate the concept; nothing is filler.

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 one-parameter predicate with no output schema, the definition covers the semantics, the domain, the return fields, the cost, and an alternate transport. Nothing an agent needs in order to call it and interpret the result is missing.

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 burden; it does say n is the integer under test and bounds it to 1..20000, which duplicates the schema's min/max but adds the meaning of what n represents. It does not specify integer-only or behavior at outside-range input beyond the bound.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific predicate with a precise mathematical definition ("strictly more divisors than every smaller positive integer") plus confirming and negative examples (1, 2, 6, 12, 60, 5040 are; 3 and 30 are not). An agent can immediately tell this is a boolean membership test rather than a count or next-value lookup like the sibling highly_composite_count / highly_composite_next.

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?

It establishes the domain constraint ("n runs from 1 to 20000"), which implicitly tells the agent when the tool is applicable, but it never states when to prefer this over the sibling count/next/sequence tools. Usage is inferable from the predicate nature but not explicitly routed.

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