Skip to main content
Glama

ScorpTech x402 Tools

Octahedral

octahedral
Read-onlyIdempotent

The nth octahedral number, n*(2n^2+1)/3. The first terms are 1, 6, 19, 44, and 85. n runs from 1 to 100000. 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

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered; the description goes further by disclosing the paid-call model ($0.001 USDC per successful call via x402 on Base or Solana), the return payload shape (n, value), and an equivalent HTTPS endpoint. That payment/auth context is exactly the kind of behavior annotations cannot express, though error or payment-failure behavior is unstated.

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?

Three dense sentences, front-loaded with the definition and formula, then the return shape, then the pricing and endpoint. Every clause carries operational information with no filler.

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?

For a pure arithmetic function with one parameter and no output schema, the description supplies the formula, the domain, the return keys, and the payment/transport details. Nothing material an agent needs in order to invoke it is missing.

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?

The schema has only one integer parameter and 0% description coverage, so the description must carry meaning: it establishes that n is a 1-based index into the octahedral sequence and restates the 1–100000 bounds. This is exactly the semantics needed to call it correctly, though the closed form's role for n is implied rather than spelled out.

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 names a specific resource ('the nth octahedral number') and pins it down with the closed form n*(2n^2+1)/3 plus the first five terms, so an agent knows exactly which sequence is computed. It does not explicitly contrast itself with siblings like octahedral_next or octahedral_index, so sibling differentiation is only implicit through the 'nth term' framing.

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 domain of n (1 to 100000) is stated, which implicitly tells the agent the valid usage window, but there is no explicit when-to-use or when-not-to-use guidance relative to the other octahedral_* tools. An agent must infer that this is the direct term-evaluation tool rather than a next/index/sum variant.

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