Skip to main content
Glama

ScorpTech x402 Tools

Smarandache Gap

smarandache_gap
Read-onlyIdempotent

n minus S(n). 1 and 4 give 0, 6 gives 3, 8 gives 4, 10 gives 5, and 16 gives 10. n runs from 1 to 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/smarandache-gap

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely non-structured context: the $0.001 USDC per successful call x402 pricing on Solana and an equivalent HTTPS endpoint. It says nothing about failure/payment-refund behavior or rate limits, which keeps it from a 5.

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?

Formula first, then examples, then domain, then price and alternate endpoint — every clause is doing work and there is no 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 worked examples usefully imply that an integer is returned, and pricing is disclosed. But the central semantic gap — what function S denotes and thus what the gap actually measures — is left undefined, and nothing covers error or payment-failure behavior.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter and its schema carries no description (0% coverage), so the description must carry the load. It does note 'n runs from 1 to 100000' and pairs sample n values with outputs, effectively demonstrating the mapping. However it never defines S(n), so an agent cannot predict the result for an arbitrary input.

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?

States the computed quantity ('n minus S(n)') and anchors it with six worked examples plus a domain of 1..100000, so the agent knows this is a single-value arithmetic tool. It does not differentiate itself from the neighboring smarandache, smarandache_sum, smarandache_quot or smarandache_least tools, and the symbol S(n) is never expanded.

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 statement of when to call this versus the other smarandache_* siblings, nor any prerequisite context. The only usage constraint is the implicit input range, which is already enforced by the schema.

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