Skip to main content
Glama

ScorpTech x402 Tools

Seventh Sum

seventh_sum
Read-onlyIdempotent

The sum of the first n seventh powers, n^2(n+1)^2(3n^4+6n^3-n^2-4n+2)/24. The sum through 10 is 18080425. n runs from 0 to 10000. Past 15 digits the value is a decimal string. 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/seventh-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": "seventh_sum"
  }
}

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 cover the safety profile (readOnly, idempotent, non-destructive), yet the description still adds real behavior: a per-call price of $0.001 USDC via x402 on Base or Solana, and the quirk that values beyond 15 digits come back as decimal strings. It also offers a direct HTTPS fallback endpoint. Missing only things like timeout or failure/refund behavior on failed calls.

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?

Dense and front-loaded: formula, example, domain, formatting caveat, return shape, price, endpoint, in that order. Every clause carries information, though the trailing URL is somewhat dense and the return-field list could be tightened.

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?

No output schema exists, and the description compensates by listing the returned fields (n, value) and the large-value string encoding. Cost, domain, and transport alternative are all present. What remains unstated is error behavior on out-of-range n or failed payment.

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?

Schema description coverage is 0%, so the description is the only place n is explained, and it does define n as the number of terms and restates the 0–10000 bound already in the schema. It does not say whether n is inclusive, but the worked example at n=10 implicitly confirms inclusivity. Adequate but thin for a 0%-coverage parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific operation and resource and pins it down with the closed-form expression n^2(n+1)^2(3n^4+6n^3-n^2-4n+2)/24 plus a worked example ('sum through 10 is 18080425'). That is enough for an agent to distinguish it from fifth_sum, cube_sum and the other sibling series sums without opening any schema.

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 implied by the domain constraint ('n runs from 0 to 10000') and the cost line, which effectively tells an agent this is a per-call paid computation. There is no explicit when-to-use versus when-not guidance and no named alternative among the many sibling sums, so an agent must infer routing from the name and formula.

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