Skip to main content
Glama

ScorpTech x402 Tools

Arithmetic Count

arithmetic_count
Read-onlyIdempotent

How many arithmetic numbers are at most n. Through 1 there is 1, through 2 there is 1, through 6 there are 4, through 15 there are 9, and through 20 there are 12. n runs from 1 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/arithmetic-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": "arithmetic_count"
  }
}

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 declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new context beyond them: the return shape (JSON with n and value), a per-call price with the x402 payment scheme and chains (Base or Solana), and an equivalent HTTPS endpoint. It does not mention rate limits or error behavior, keeping it short of 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?

Purpose is front-loaded in the opening clause, followed by compact blocks for examples, range, return shape, and payment. The five example pairs are the longest element and are borderline decorative, but they serve verification value and nothing is buried or redundant.

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 no output schema, the description correctly compensates by naming the returned fields, and it covers range, pricing, and transport details for a single-parameter read tool. The only material omission is a definition of the arithmetic-number property being counted.

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 description coverage is 0% and there is one parameter, so the description must carry the semantic load. It restates the 1–5000 bound already in the schema and supplies sample n→value mappings that let an agent sanity-check results, but it never defines what an 'arithmetic number' is, leaving the core semantics of n unexplained.

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 — counting arithmetic numbers up to n — in the first sentence. The 'at most n' scoping cleanly separates it from siblings like arithmetic_next, arithmetic_number, and arithmetic_sum without needing to name them.

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 is implied rather than stated: the agent must infer that this is the counting counterpart for a bounded range. No explicit when-to-use/when-not guidance and no named alternative is offered, though the domain makes the intent fairly unambiguous.

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