Skip to main content
Glama

ScorpTech x402 Tools

Pentanacci Step

pentanacci_step
Read-onlyIdempotent

The Pentanacci step P(n) = P(n-1) + P(n-2) + P(n-3) + P(n-4) + P(n-5). a is P(n-5), b is P(n-4), c is P(n-3), d is P(n-2), and e is P(n-1). n runs from 5 to 4096. Past 15 digits a term is a decimal string. Returns JSON with: n, a, b, c, d, e, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/pentanacci-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": "pentanacci_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered; the description adds real value beyond that with the 15-digit decimal-string representation rule, the exact JSON return fields, and the per-call price of $0.001 USDC via x402 on Base or Solana. It does not describe failure behavior when n falls outside 5–4096 or what happens on payment failure, leaving a modest gap.

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 dense but front-loaded: the recurrence comes first, then the variable mapping, then bounds, return shape, and cost. Every sentence carries information, though the a/b/c/d/e enumeration is a little compressed and the pricing/endpoint sentences are appended without a structural break.

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?

There is no output schema, so listing the returned JSON keys (n, a, b, c, d, e, value) is essential and is present, along with bounds, cost, and an alternate transport. Only error/edge behavior (out-of-range n, payment failure) and the origin of the seed terms are missing for a tool of this complexity.

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?

With only one parameter and 0% schema description coverage, the description carries the burden and does so: it explains that n is the term index and that it ranges from 5 to 4096, which reinforces and contextualizes the schema's minimum/maximum. It does not explicitly state how the five seed values a–e are obtained, which is the one ambiguity an agent could hit.

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 definition of the operation (the Pentanacci step recurrence) and the argument mapping (a=P(n-5) through e=P(n-1)), so an agent knows exactly what computation is performed. It does not name or distinguish itself from the close siblings pentanacci, pentanacci_index, pentanacci_mod, or pentanacci_sum, which keeps it below a 5.

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?

The description states the mathematical contract but gives no guidance on when to choose this tool over pentanacci, pentanacci_index, pentanacci_sum, or pentanacci_mod. The only context is the n range and the equivalent HTTPS endpoint, both of which are contract details rather than selection guidance.

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