Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds genuinely useful non-annotation facts: a per-call price of $0.001 USDC settled via x402 on Solana, and an equivalent HTTPS endpoint. It stops short of stating the return type or behavior for out-of-range input, which keeps it from a 5.

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?

The definition and examples come first, so the reader gets the concept before the domain limit and pricing details. All sentences carry information, though the price and the alternate endpoint could be trimmed for an agent that already has that metadata elsewhere.

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 predicate with no output schema, the description supplies everything needed to call it correctly: exact semantics, examples, valid input range, cost, and an alternate transport. The only gaps are an explicit statement that the result is a boolean and any cross-reference to the count/next variants.

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?

There is one parameter with 0% schema description coverage, but the schema itself encodes the bounds (minimum 1, maximum 20000) and the description restates the same range without adding new meaning. The examples clarify the intended value domain, but nothing is said about error behavior at the boundaries.

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 gives a precise mathematical definition ('strictly more divisors than every smaller positive integer'), followed by positive examples (1, 2, 6, 12, 60, 5040) and negative ones (3, 30). An agent can immediately tell this is a boolean predicate over an integer, not a generator or counter like highly_composite_count or 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?

The domain constraint ('n runs from 1 to 20000') tells the agent when the tool is callable, but there is no explicit guidance on when to pick this predicate versus sibling tools such as highly_composite_count, highly_composite_next, or divisor_count. Usage is implied by the definition rather than stated.

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