Skip to main content
Glama

ScorpTech x402 Tools

Ipow

ipow
Read-onlyIdempotent

The integer power base^exp. 2^10 is 1024, and (-2)^5 is -32. 0^0 is 1. exp runs from 0 to 256. The base has at most 80 digits. Past 15 digits the value is a decimal string. Returns JSON with: base, exp, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/ipow

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": {
      "base": "<base>",
      "exp": "<exp>"
    },
    "name": "ipow"
  }
}

Input Schema

NameRequiredDescriptionDefault
expYes
baseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: the return shape (base, exp, value), the representation switch to a decimal string past 15 digits, the monetary cost of $0.001 USDC per successful call, and a parallel HTTPS endpoint. What it does not address is failure behavior — whether an out-of-range exp or oversized base returns an error or a charge — which keeps 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in sentence one, examples and limits follow, and return/pricing/endpoint details are packed into short declarative clauses with zero filler. Every sentence contributes a fact an agent would otherwise have to discover by trial.

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 no output schema, the description compensates by enumerating the returned JSON fields and the large-number string representation, plus cost and transport. The remaining gap is error/edge behavior for rejected inputs, which matters given the per-call charge, but otherwise an agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, and it does: it states the exp range 0-256, the 80-digit base limit, shows a negative base in an example (clarifying the leading-minus pattern is allowed), and pins down the 0^0 = 1 convention. The 'past 15 digits returns a decimal string' note adds meaning about output magnitude that neither schema nor annotations convey.

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 first sentence names a specific operation and resource ('The integer power base^exp') and immediately grounds it in worked examples (2^10 = 1024, (-2)^5 = -32). An agent can tell exactly what computation this performs without inspecting the schema.

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?

The description sets clear domain boundaries (exp 0-256, base up to 80 digits) that tell an agent when the tool is applicable, and the 0^0 = 1 note resolves an edge case that would otherwise cause ambiguity. However, it never names an alternative for values outside those bounds (e.g., larger exponents or non-integer power), so the routing decision against siblings is left implicit.

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