Skip to main content
Glama

ScorpTech x402 Tools

Octahedral Index

octahedral_index
Read-onlyIdempotent

The n with O(n) equal to the input, or 0 when the input is not octahedral. 1 is place 1, 6 is place 2, 19 is place 3, and 2 is absent. The input runs from 0 to 666666666700000. 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/octahedral-index

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world, non-destructive, so the description is not required to restate safety. It does add genuinely new operational facts: a per-call price ($0.001 USDC, x402 on Base or Solana), an HTTPS fallback endpoint, and the shape of the response (n, value). What it omits is the failure/payment-declined behavior for an x402-metered call, which would matter to an agent with no wallet context.

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 short, dense and front-loads the core semantics before the examples, response shape, and pricing. Some compression is counterproductive (undefined 'O(n)', overlapping 'n'/'input' terminology), but there is little outright filler.

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

Completeness3/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 correctly states the returned fields (n, value) and the sentinel value 0, which is the key payload fact. For a paid, x402-metered tool with an undefined core function, however, it leaves open what the underlying octahedral function is and what happens on payment failure, so it is barely sufficient rather than complete.

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

Parameters2/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 parameter meaning, and it mostly does not: it restates the numeric bounds that already appear as minimum/maximum in the schema, and it calls the value 'the input' while the sole parameter is named n — the same symbol used for the returned index, which invites confusion about which n is which.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states an inverse-lookup operation (find the n whose O(n) equals the input, 0 if absent) and gives worked examples (1→1, 6→2, 19→3, 2→absent), which makes the intent inferable. However, 'O(n)' is never defined, and it never names the forward sibling (octahedral) as the counterpart, so an agent must guess the relationship from context and cannot cheaply distinguish this from octahedral_next or octahedral_sum.

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 explicit when-to-use guidance, no statement of when not to use it, and no pointer to the forward tool for computing O(n) from an index. The only implicit cue is the 'returns 0 when not octahedral' behavior, which hints at validation use but is never framed that way.

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