Skip to main content
Glama

ScorpTech x402 Tools

Mcnugget Count

mcnugget_count
Read-onlyIdempotent

How many integers from 0 through n can be ordered in boxes of 6, 9, and 20. Through 0 there is 1, through 6 there are 2, through 43 there are 22, and through 100 there are 79. 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/mcnugget-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": "mcnugget_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts: the JSON return shape (n, value), the $0.001 USDC x402 cost per successful call on Base or Solana, and an alternate HTTPS endpoint. It does not describe error or failure behavior, keeping it from 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?

The definition is front-loaded with the core computation and then layers examples, bounds, return shape, cost, and endpoint in a sensible order. The four worked examples are useful for sanity-checking but make the description longer than strictly necessary.

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 single-parameter, no-output-schema counting tool, the description supplies the return shape, the numeric domain, pricing, and an alternate transport, so an agent has what it needs to call correctly. Only failure modes and sibling selection remain unaddressed.

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?

With one parameter and 0% schema description coverage, the description must carry the burden. It does define n as the inclusive upper bound of the counted range (from 0 through n) and confirms the 0-5000 domain, which adds meaning to the bare integer 'n'; however, the '0 to 5000' phrasing largely restates the schema's min/max, so the added semantics are modest.

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 states a precise computation: how many integers from 0 through n are expressible as boxes of 6, 9, and 20, which is a specific verb+resource. It does not explicitly distinguish itself from siblings like mcnugget_ways or mcnugget_miss, so it stops short of a 5, but the worked examples (through 43 there are 22) make the semantics unambiguous.

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?

There is no statement of when to use this tool rather than mcnugget, mcnugget_ways, or mcnugget_miss, and no exclusions or prerequisites. The example values implicitly confirm what the tool returns but give no routing guidance.

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