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. 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-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.1/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 the safety profile is covered. The description adds genuinely useful extra context beyond that: the return fields (n, value), the fixed cost of $0.001 USDC per successful call, and an equivalent HTTPS endpoint. Those additions merit credit, though the price and endpoint detail borders on operational trivia rather than behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the definition, then examples, then domain, then return shape, then pricing. Every sentence is short and functional; the pricing and HTTPS sentence is compressed into one line rather than sprawling.

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, no-output-schema math tool, this is complete: it defines the operation, gives worked examples, bounds the input, and names the return fields (n, value) even though no output schema exists. The only thing an agent might not know is what a 'highly composite number' is conceptually, but the examples make the mapping computable enough to invoke correctly.

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 parameter meaning, and it does: 'n' is defined as the lower bound that the result must be greater than or equal to, with concrete input/output pairs. The stated range (1 to 7560) merely restates the schema's minimum and maximum, so it adds little, but the examples and the relational meaning of n are real value.

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?

The description states a precise verb-and-resource operation: 'the least highly composite number greater than or equal to n.' That '>=' semantics is what separates it from the plain 'highly_composite' sibling, and the worked examples (1→1, 3→4, 7→12, 5041→7560) make the operation unambiguous without opening the schema.

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 '>=' framing tells an agent when the tool applies, but it never explicitly says to use this instead of highly_composite or highly_composite_count, nor does it state when not to use it. The valid domain (1 to 7560) is given, which prevents some misuse but is not true when-to-use guidance.

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