Skip to main content
Glama

ScorpTech x402 Tools

Frugal Count

frugal_count
Read-onlyIdempotent

How many frugal numbers are at most n. Through 124 there are none, through 125 there is 1, and through 200 there are 2. n runs from 1 to 10000. 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/frugal-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": "frugal_count"
  }
}

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?

Annotations already cover readOnly, idempotent, non-destructive and openWorld, and the description goes beyond them with the economic/auth model: a $0.001 USDC charge per successful call via x402 on Base or Solana, plus an equivalent HTTPS endpoint. What it omits is whether failed calls are billed and whether there is rate limiting.

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?

Front-loads the question being answered, then the illustrative ranges, then the return shape and cost. Slightly cluttered by restating the numeric bounds already in the schema, but no sentence is wasted.

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?

Return fields are named explicitly, which compensates for the absent output schema, and cost and transport are disclosed. The one substantive gap is domain definition: without stating what makes a number 'frugal', an agent cannot confidently judge whether this is the right sibling tool to call.

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, and it does clarify n as the inclusive upper bound ('at most n') while restating the 1..10000 range that the schema already enforces. With a single integer parameter of obvious meaning, that is adequate but adds little new semantics.

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?

States a specific verb and resource ('How many frugal numbers are at most n') and pins the output shape ('n, value'). It never defines what a frugal number is, so an agent unfamiliar with the sequence must infer meaning from the name alone, but the counting operation and its scope are unambiguous.

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?

Offers concrete worked ranges ('through 124 there are none, through 125 there is 1, and through 200 there are 2') and bounds n to 1..10000, which implicitly tells the agent when the result will be zero. There is no explicit when-to-use versus sibling *_count tools or any statement of prerequisites beyond the price.

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