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. Price: $0.001 USDC per successful call (x402, 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.8/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld, so the bar is lower, and the description adds genuinely new behavioral facts: this is a paid call at $0.001 USDC per successful call via x402 on Solana, plus an equivalent HTTPS endpoint. It omits error behavior for out-of-range n and any latency/rate context.

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?

Purpose and boundary examples come first, then the domain constraint, then pricing/access details. Four short sentences, each carrying distinct information with no filler.

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 param, no output schema, and full annotation coverage, the description supplies enough to call it correctly: semantics of n, its range, sample outputs that reveal the return value is a count, and cost/transport. Only the response shape and out-of-range behavior remain unspecified.

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?

The single parameter n is unexplained in the schema (0% description coverage), but the schema does already encode minimum 1 and maximum 10000. The description restates that range and clarifies that n is an inclusive upper bound via the first sentence and examples — modest added meaning, not full compensation.

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: counting frugal numbers up to a bound n, with concrete example values (124→0, 125→1, 200→2). It does not, however, name or distinguish itself from the sibling `frugal` (presumably the per-number predicate), so an agent must infer count-vs-test from the name alone.

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 only implied: the worked examples make clear this is a prefix-count up to n, which implicitly steers away from `frugal` for single-number checks. There is no explicit when-to-use / when-not-to-use statement or named alternative.

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