Skip to main content
Glama

ScorpTech x402 Tools

Highly Composite Next

highly_composite_next
Read-onlyIdempotent

The least highly composite number greater than or equal to n. 1 gives 1, 3 gives 4, 7 gives 12, and 5041 gives 7560. n runs from 1 to 7560. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/highly-composite-next

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's added value is the payment model: $0.001 USDC per successful call via x402 on Solana, plus a same-function HTTPS endpoint. Disclosing that calls are metered/paid is exactly the kind of auth/cost context annotations cannot express.

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 domain bounds, then pricing/endpoint. Every sentence carries information, though the pricing and alternate-endpoint clause densifies the tail slightly.

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-parameter arithmetic function with no output schema, the description supplies semantics, worked examples, valid input range, cost, and an alternate transport. Nothing an agent needs to call it correctly 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?

The schema has 0% description coverage on `n`, but the description compensates by stating the domain ('n runs from 1 to 7560') and illustrating the mapping with concrete input/output pairs. That is more than the bare integer/min/max in the schema conveys.

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 precise verb+resource relationship ('least highly composite number >= n') and immediately grounds it with four worked examples, including the boundary case 5041 -> 7560. The 'next' semantics inherently distinguish it from membership-test siblings like highly_composite or counting siblings like highly_composite_count.

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 by the mathematical definition: given n, return the successor highly composite number. However, it never explicitly names when to reach for this versus highly_composite (membership) or highly_composite_count, leaving that inference to the agent.

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