Skip to main content
Glama

ScorpTech x402 Tools

Smarandache Sum

smarandache_sum
Read-onlyIdempotent

The sum of S(k) from 1 through n. Through 1 it is 1, through 6 it is 18, through 10 it is 40, and through 12 it is 55. n runs from 1 to 5000. 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/smarandache-sum

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/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, and the description goes beyond them with details the annotations cannot carry: a per-call price of $0.001 USDC via x402, payment chains (Base or Solana), and an equivalent HTTPS endpoint. It discloses the return payload shape as well; the only gap is that it does not explain what S(k) itself is.

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 computation and sample values are front-loaded, and the pricing and endpoint lines are compact and earn their place since no other field carries them. A few sample values could be trimmed, but overall there is very little waste.

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?

For a single-parameter read tool with no output schema, the description covers domain bounds, explicit return fields ('Returns JSON with: n, value'), cost, payment rails and transport. The one substantive omission is a definition of the underlying Smarandache function, which leaves the mathematical meaning of the result underspecified.

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?

With one parameter at 0% schema description coverage, the description must carry the semantics, and it does state that n runs from 1 to 5000 and illustrates the mapping through four sample values. However, it never defines S(k), so an agent cannot reason about intermediate inputs beyond the given checkpoints.

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 a specific computation: the sum of S(k) from 1 through n, with concrete checkpoints (through 1 → 1, through 6 → 18, through 10 → 40, through 12 → 55) that let an agent identify the sequence unambiguously. It does not name or distinguish itself from siblings like smarandache or smarandache_gap, so it falls short of 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 never says when to use this tool rather than the plain smarandache tool or the other smarandache_* variants, and gives no exclusions or preconditions. The only guidance is implicit in the range statement 'n runs from 1 to 5000', which constrains input rather than selecting the tool.

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