Skip to main content
Glama

ScorpTech x402 Tools

Taxicab Count

taxicab_count
Read-onlyIdempotent

How many positive integers through n have at least two writings as a sum of two positive cubes. Through 100 there are none, through 1729 there is 1, and through 4104 there are 2. n runs from 0 to 5000. 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/taxicab-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": "taxicab_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/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 new context: the response shape ('JSON with: n, value'), the per-call price and payment rail (x402, Base or Solana), and an equivalent HTTPS endpoint — all of which matter to an agent deciding whether and how to call it.

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 is front-loaded with the mathematical question, then examples, then the domain, then return shape and pricing. Every sentence carries information, though the pricing/endpoint sentence is somewhat packed in alongside the math and could be separated for scannability.

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?

With one integer parameter, no output schema, and annotations covering safety, the description supplies the missing pieces: return fields (n, value), the valid range, and the cost model. An agent has everything needed to call it correctly, though it never states what happens at boundary values like n=0.

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 burden, and it does: it explains that n is the upper bound of the range and that n runs from 0 to 5000, matching the schema's min/max. The worked examples at 100, 1729 and 4104 further clarify what n means in practice.

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 verb+resource: counting positive integers through n that have at least two writings as a sum of two positive cubes. It is unambiguous and clearly a counting tool, distinguishable from a sibling like `taxicab` that would presumably return the numbers themselves.

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 context is conveyed only indirectly, via worked examples ('through 100 there are none, through 1729 there is 1, through 4104 there are 2') and the stated domain 0-5000. There is no explicit statement of when to prefer this over the `taxicab` sibling or other *_count tools, so the agent must infer selection from the name and 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