Skip to main content
Glama

ScorpTech x402 Tools

Mcnugget Ways

mcnugget_ways
Read-onlyIdempotent

How many combinations of 6, 9, and 20 boxes add to n. 0 has 1 empty order, 6 has 1, 18 has 2, 43 has 0, and 44 has 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/mcnugget-ways

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_ways"
  }
}

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, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: it is a paid call at $0.001 USDC per successful call via x402 on Base or Solana, an equivalent HTTPS endpoint is given, and the return shape is named. This is real context beyond the annotations.

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?

The definition is front-loaded with the core question, followed by compact illustrative examples, the domain, the return shape, and then pricing/transport. Every sentence carries distinct information with no padding.

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 pure function with no output schema, the description covers input domain, edge cases, and the returned JSON fields (n, value), plus cost and alternate transport. The only soft spot is that 'value' is not explicitly defined as the count of combinations, though the examples make it inferable.

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 coverage is 0%, so the description must carry the burden, and it does: n is the target sum for 6/9/20 box combinations, with the valid domain 0–5000 restated and boundary behavior illustrated through the 0, 43 and 44 examples. It could be slightly richer about what happens for out-of-range n, but the meaning of n is unambiguous.

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 concrete computation: counting combinations of 6, 9, and 20 that sum to n, backed by worked examples (0→1, 43→0, 44→2). It is clear what the tool does, but it never distinguishes itself from the sibling mcnugget_count or mcnugget, which by name sound like near-duplicates of this operation.

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 by the domain statement (n from 0 to 5000) and the examples, so an agent can tell when the tool applies. However, there is no explicit guidance on when to pick this over mcnugget_count, mcnugget_min, or mcnugget_miss, nor any stated preconditions.

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