Skip to main content
Glama

ScorpTech x402 Tools

Juggler Step

juggler_step
Read-onlyIdempotent

One juggler step. An even n goes to its integer square root, and an odd n goes to the integer square root of its cube. 1 stays 1, 2 gives 1, 3 gives 5, 9 gives 27, and 10 gives 3. n runs from 1 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/juggler-step

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": "juggler_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. Beyond that, the description adds genuinely useful behavior: the accepted domain (1 to 1,000,000), the payment requirement ($0.001 USDC per successful call via x402 on Solana), and an alternate HTTPS endpoint for the same operation. It does not describe output shape or failure 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?

Front-loaded with the core rule, then examples, then domain, then pricing/transport. Every sentence is functional, though 'n runs from 1 to 1000000' restates the schema's minimum/maximum and is the one mildly redundant element.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a bare integer parameter, the description does the full job: it defines the transformation, demonstrates it on five values covering both parity branches, bounds the input, and discloses the payment/transport mechanics. An agent can call this correctly without any other information.

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 description coverage is 0% and the single parameter 'n' has only type/min/max, so the description must carry the meaning. It does: 'n runs from 1 to 1000000' documents the domain even though it duplicates the schema bounds, and the worked examples convey what n actually represents and how it maps to the result.

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?

The description states exactly what is computed: one step of the juggler map, with the even/odd rule spelled out (integer sqrt for even n, integer sqrt of the cube for odd n). Concrete worked examples (1→1, 2→1, 3→5, 9→27, 10→3) make the operation unambiguous, and 'One juggler step' implicitly separates it from the multi-step siblings juggler_steps and juggler_chain.

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 definition — an agent can infer it should call this for a single transition rather than a full trajectory — but the description never names juggler_steps, juggler_chain, juggler_max, or juggler_odd as alternatives, nor states when this tool is preferable. No prerequisites or exclusions are given beyond the input range.

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