Skip to main content
Glama

ScorpTech x402 Tools

Pentanacci Index

pentanacci_index
Read-onlyIdempotent

The smallest index n with P(n) equal to value. 0 is index 0, and 1 is index 4. A number that is not a Pentanacci term, or a leading zero, is rejected. value is a decimal integer of at most 600 digits. 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/pentanacci-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": {
      "value": "<value>"
    },
    "name": "pentanacci_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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 bar is lower, yet the description still adds real context: the exact JSON return fields (n, value), rejection semantics for non-terms and leading zeros, the $0.001 USDC x402 price on Base or Solana, and an alternate HTTPS endpoint. The only gap is what an error/rejection response looks like.

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?

Front-loaded with the definition, then examples and constraints, then return shape and payment details; every sentence carries information an agent needs. The pricing/endpoint sentence is long but operational rather than filler.

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 read-only tool with no output schema, the description covers the input contract, the rejection behavior, and the returned fields, which is nearly everything needed to call it correctly. Missing only error-response shape and whether the price applies to rejected calls.

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 0% schema description coverage, the description must carry the parameter, and it does: 'value is a decimal integer of at most 600 digits' plus the crucial constraint that leading zeros and non-Pentanacci terms are rejected, which the regex ^[0-9]{1,600}$ alone would wrongly permit. It stops short of spelling out accepted string formatting beyond that.

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 operation (smallest index n where P(n) = value) and illustrates the index convention with concrete examples ('0 is index 0, and 1 is index 4'). It is clearly an inverse-lookup contrasted implicitly with the forward siblings like pentanacci, but it never names an alternative explicitly.

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 only implied: the inverse-lookup framing tells an agent it wants an index from a term value, but there is no explicit 'use X instead when you have an index and want the term' routing against pentanacci/pentanacci_step. The rejection rules (non-terms, leading zeros) are constraints rather than when-to-use 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