Skip to main content
Glama

ScorpTech x402 Tools

Period Double

period_double
Read-onlyIdempotent

The period-doubling bit at index n, starting at 0. It is the parity of the exponent of 2 in n+1. Bit 0 is 0, bit 1 is 1, and the first 8 bits are 01000101. n runs from 0 to 999999999999999. 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/period-double

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 operational context: a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. It does not describe behavior on out-of-range input or payment failure, which keeps it below 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 and worked bits are front-loaded, and the range, return shape, price, and endpoint each occupy a short clause with no filler. The pricing/endpoint sentence is a small tail of commercial detail but still earns its place for an agent that must pay per call.

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 one-parameter math function with no output schema, the description supplies definition, examples, input range, return shape ('n, value'), cost, and transport. Only edge-case behavior (out-of-range n, failed payment) is unaddressed, which is a minor gap at this complexity.

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?

Schema coverage is 0%, so the description must carry the parameter, and it does explain that n is a 0-based bit index and restates the valid range 0 to 999999999999999. However, the range is already in the schema (minimum/maximum), so the added meaning is limited to the indexing convention and worked examples.

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 gives a precise mathematical definition of the single value computed ('parity of the exponent of 2 in n+1') plus concrete sample bits, so an agent knows exactly what this returns. It does not explicitly contrast with the sibling tools period_double_prefix and period_double_sum, so the single-term vs. aggregate distinction must be inferred from the word 'bit'.

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: call this when you need one period-doubling bit at a given index. There is no explicit when-to-use/when-not statement and no named alternative, so an agent choosing between this and the prefix/sum siblings gets no routing guidance from the text.

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