Skip to main content
Glama

ScorpTech x402 Tools

Euler Zigzag Sum

euler_zigzag_sum
Read-onlyIdempotent

The sum of Euler zigzag numbers a(0) through a(n). The sum through a(5) is 26, and the sum through a(10) is 60201. n runs from 0 to 40. 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/euler-zigzag-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": "euler_zigzag_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent and non-destructive behavior, but the description adds substantial context: output JSON fields (n, value), decimal-string formatting past 15 digits, pricing, and an alternate HTTPS endpoint. No annotation is contradicted.

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?

The description is front-loaded with the operation and then layers examples, range, output format, cost, and endpoint in compact sentences. Each piece serves either mathematical clarity or paid-API invocation, with no filler.

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 math tool with rich annotations and no output schema, the description supplies the return shape, precision behavior, cost, and endpoint. Nothing essential for correct invocation appears 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 coverage is 0%, so the description must explain n. It defines n as the inclusive upper bound for the sum (through a(n)), gives the 0-40 range, and provides sample outputs for n=5 and n=10; this compensates reasonably for a single integer parameter, though the schema already carries min/max.

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 precise operation: the cumulative sum of Euler zigzag numbers a(0) through a(n). That wording distinguishes it from the sibling euler_zigzag (single term) and from unrelated sum tools by naming the exact sequence. An agent can identify what it computes without opening the 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?

It implies when to use the tool by defining the cumulative sum through an upper index and giving range/examples. However, it never states when to prefer it over euler_zigzag for a single term or mentions any exclusion/alternative among the many *_sum siblings. Guidance is therefore present only by implication.

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