Skip to main content
Glama

ScorpTech x402 Tools

Higgs Index

higgs_index
Read-onlyIdempotent

The 1-based place of n in the Higgs primes for exponent 2, or 0 when n is absent. 2 is place 1, 19 is place 7, and 17 is absent. n runs from 1 to 2000. 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/higgs-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": "higgs_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral facts: absence yields 0 rather than an error, the response is JSON containing n and value, and each successful call is metered at $0.001 USDC via x402 on Base or Solana. Only rate limits and error behavior beyond the absent case are unaddressed.

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 core definition and examples are front-loaded, and the return shape, range, and pricing follow in compact order with no filler sentences. It is dense but every clause carries information an agent needs (absence behavior, range, cost, alternate endpoint). Minor cost: the pricing and URL clauses sit at the end without visual separation, making the block slightly run-on.

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 single-parameter read with no output schema, the description covers semantics, input domain, absent-result behavior, return shape, cost, and an equivalent HTTPS endpoint. Nothing an agent requires in order to call this correctly 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?

Schema description coverage is 0%, so the description must carry the meaning of n, and it does: n is the number whose ordinal position is sought, is 1-based, and runs 1 to 2000. The examples clarify field semantics beyond the bare minimum/maximum bounds in the schema. It does not, however, explain the number-theoretic sense of 'Higgs primes' or 'exponent 2', leaving some ambiguity about which n values are meaningful.

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 states a precise, checkable semantic: it returns the 1-based position of n within the Higgs primes for exponent 2, and 0 when n is absent, reinforced by three worked examples (2→1, 19→7, 17→absent). The operation is clearly an index lookup rather than a prime lookup, which distinguishes it in practice from siblings such as higgs or higgs_count. It stops short of naming any sibling explicitly, so it does not fully earn 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The valid input domain (n from 1 to 2000) and the absent-value convention imply when the tool is applicable, but there is no explicit statement of when to prefer it over higgs, higgs_count, higgs_gap, or higgs_next. An agent must infer the routing decision from the return-value semantics alone.

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