Skip to main content
Glama

ScorpTech x402 Tools

Polydivisible Count

polydivisible_count
Read-onlyIdempotent

How many polydivisible numbers from 0 through n there are. Through 1 there are 2, through 10 there are 11, through 12 there are 12, and through 30 there are 21. n runs from 0 to 100000. 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/polydivisible-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": "polydivisible_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/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 operational detail beyond that: it is a paid x402 endpoint at $0.001 USDC per successful call on Base or Solana, with an equivalent HTTPS URL. It does not mention error handling, latency, or what happens on failed (unpaid) calls.

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 scope statement is front-loaded, the examples are compact and informative, and pricing/return/endpoint details are packed into short clauses. The opening sentence is slightly awkwardly phrased and the n range duplicates the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully states the return shape ({n, value}) and the input domain, and the pricing note is important for a payable endpoint. What is missing for a one-parameter math tool is a definition of the underlying property and any hint about which sibling counter to use instead.

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 carries the burden. It does clarify that n is an inclusive upper bound over the range 0–100000 (though that range merely repeats the schema's min/max), but it never defines what makes a number polydivisible, which is the core semantic an agent may need to interpret results.

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?

The description states a specific verb and resource: count how many polydivisible numbers exist from 0 through n, with concrete sample values (through 10 there are 11) that pin down the counting convention. However, it never distinguishes this from the sibling tool 'polydivisible', so an agent must guess which one to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no mention of the sibling 'polydivisible' or the many other *_count tools. Usage is only weakly implied by the tool name and the worked examples.

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