Skip to main content
Glama

ScorpTech x402 Tools

Eulerian Poly

eulerian_poly
Read-onlyIdempotent

The Eulerian polynomial A_n(x) = sum A(n, k) * x^k. A_3(2) is 13, A_4(1) is 24, and A_5(0) is 1. n runs from 1 to 20, and x runs from 0 to 10. Past 15 digits the value is a decimal string. Returns JSON with: n, x, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/eulerian-poly

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>",
      "x": "<x>"
    },
    "name": "eulerian_poly"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes
xYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/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 behavior, so the safety profile is covered. The description adds real context beyond them: the output shape ('Returns JSON with: n, x, value'), the large-value behavior ('Past 15 digits the value is a decimal string'), the price, and the equivalent HTTPS endpoint. It does not discuss error behavior for out-of-range input, which is a minor gap.

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 definition and examples, then moves to domain limits, output format, and pricing. Every sentence supplies information an agent needs (math, bounds, return shape, cost), and nothing is redundant.

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 two-parameter read-only math tool, the description covers the formula, the valid input domains, illustrative outputs, the return shape, the large-number representation, and the cost and transport details. Nothing needed to call it correctly is missing, and no output schema exists that would need supplementing.

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 description coverage is 0%, so the description has to carry parameter meaning, and it largely does: it defines n as the polynomial index and x as the evaluation point through the formula and examples, and restates both valid ranges. The examples (A_3(2)=13, A_4(1)=24, A_5(0)=1) make the semantics concrete, though the description never names the parameters explicitly.

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?

The description gives the exact mathematical object (the Eulerian polynomial A_n(x) = sum A(n,k) * x^k) and shows that the tool evaluates it at a given n and x, e.g. 'A_3(2) is 13'. That is a specific verb-plus-resource statement. It does not, however, distinguish this from siblings such as eulerian, eulerian_sum, or eulerian_row, so an agent must infer the difference.

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 valid domains ('n runs from 1 to 20, and x runs from 0 to 10') and three worked examples imply when the tool is applicable, and they set expectations. But there is no explicit guidance on when to pick this tool over the sibling Eulerian tools, and no stated exclusions or prerequisites beyond the range limits.

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