Skip to main content
Glama

Sixth Sum

sixth_sum
Read-onlyIdempotent

The sum of the first n sixth powers, n(n+1)(2n+1)(3n^4+6n^3-3n+1)/42. The sum through 10 is 1978405. n runs from 0 to 10000. Past 15 digits the value is a decimal string. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/sixth-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": "sixth_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive, and openWorld behavior. The description adds useful context beyond those annotations: per-call pricing ($0.001 USDC via x402/Solana), an alternate HTTPS endpoint, an example result, and the output type changing to a decimal string past 15 digits.

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 definition is front-loaded with the purpose and remains compact. The formula and example are useful for verification, though the formula is arguably unnecessary for invoking the tool; the pricing and HTTPS endpoint are relevant and not excessive.

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 one-parameter computation with no output schema, the description covers the operation, valid input range, an example, the large-output string behavior, cost, and alternate endpoint. It gives an agent enough information to call the tool correctly.

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?

The schema only defines n as an integer between 0 and 10000 with 0% description coverage. The description compensates by defining n as the number of first sixth powers summed, restating the allowed range, giving the closed form, and providing a worked example (through 10).

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?

The description states a specific mathematical operation: 'The sum of the first n sixth powers', and gives the closed-form expression. This clearly distinguishes it from sibling tools such as fifth_sum, seventh_sum, and fourth_sum.

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 description supplies the valid n range (0 to 10000), cost, and an HTTPS endpoint, which supports invocation. However, it never states when to choose this tool over sibling sum tools or any exclusions, so usage guidance is only implied by the operation name.

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