Skip to main content
Glama

ScorpTech x402 Tools

Cubefree Count

cubefree_count
Read-onlyIdempotent

How many cubefree positive integers are at most n. Through 7 there are 7, through 8 there are still 7, through 16 there are 14, and through 24 there are 21. 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/cubefree-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": "cubefree_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds context they cannot: per-call price of $0.001 USDC via x402 on Base or Solana, an equivalent HTTPS POST endpoint, and the return payload shape (n, value). It stops short of describing error/refund behavior on failed calls or pagination, which matters for a paid endpoint, so it is not a full 5.

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 question being answered, followed by compact disambiguating examples, then range, return shape, and price/endpoint. Every sentence earns its place; the examples do real work by fixing edge-case behavior at 8 and 16.

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 pure counting function with no output schema, the description supplies semantics, worked examples, input bounds, and the exact return keys. An agent has everything needed to decide to call it and to interpret the response 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 coverage is 0% and the bare schema only constrains n to 1–20000 without saying what n means. The description supplies that meaning — n is the inclusive upper bound of the range being counted — plus the same bounds in prose, so it carries the semantic load the schema omits. It could add whether very large n degrades performance, hence not a 5.

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 verb and resource: count of cubefree positive integers at most n. The worked examples (through 7 → 7, through 8 → 7, through 16 → 14, through 24 → 21) pin down the exact counting convention, which distinguishes this from a sibling that merely enumerates cubefree numbers.

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?

Use is strongly implied — call this when you need the count of cubefree numbers up to a bound — but there is no explicit when-to-use/when-not guidance and no naming of the 'cubefree' sibling that presumably returns the numbers themselves. An agent must infer the boundary from the description's phrasing rather than being 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