Skip to main content
Glama

ScorpTech x402 Tools

Cube Min

cube_min
Read-onlyIdempotent

The fewest positive cubes that add to n. 0 takes 0, 1 takes 1, 8 takes 1, 9 takes 2, 23 takes 9, and 29 takes 3. n runs from 0 to 2000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/cube-min

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": "cube_min"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already cover read-only, idempotent, non-destructive behavior, and the description adds useful operational context: the $0.001 USDC cost per successful call, the x402/Solana payment mechanism, and an HTTPS endpoint alternative. It does not describe error behavior or return format, but the added payment and endpoint details are meaningful beyond the annotations.

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?

The description is compact and front-loaded: it defines the operation first, then gives examples and domain, followed by pricing and endpoint details. Every sentence adds useful information without unnecessary verbosity.

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 simple read-only mathematical tool with rich annotations, the description covers the core computation, domain, examples, cost, and endpoint. The return value is only implied by the examples rather than explicitly stated, and error behavior is not described, but the remaining gaps are minor.

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, n, with 0% schema description coverage. The description compensates somewhat by stating that n runs from 0 to 2000 and by giving worked examples, but it largely repeats the schema's numeric constraints and does not explain the result semantics in parameter terms.

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 clearly defines the computation as the fewest positive cubes that add to n, with concrete examples that make the mathematical operation unambiguous. It does not explicitly distinguish this from nearby siblings such as cube_sum, cube_ways, or two_cubes, so it falls short of the top score.

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?

The description states the input domain and gives examples but does not say when to use this tool versus related number-theory tools, nor does it provide exclusions or selection guidance. Usage is only inferable from the mathematical definition.

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