Skip to main content
Glama

ScorpTech x402 Tools

Euler Secant

euler_secant
Read-onlyIdempotent

The nth secant number, the signed Euler number E(2n) = (-1)^n * a(2n). E(0) is 1, E(2) is -1, E(4) is 5, and E(6) is -61. n runs from 0 to 20. 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-secant

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), but the description adds real behavior: the return payload shape (n, value), the type switch to a decimal string past 15 digits, and a per-call price with payment rails. That is meaningful context beyond the structured fields; only minor details like error behavior are missing.

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 mathematical definition and worked examples are front-loaded, then constraints, then output and pricing. Every sentence carries information, though the pricing and HTTPS endpoint sentence adds density that could be separated for readability.

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?

With no output schema, the description correctly supplies the return fields and the large-value string caveat, and it pins the input domain. For a single-parameter math lookup that is essentially complete, with only error/edge-case behavior left unstated.

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 must carry the parameter's meaning, and it does: n indexes the secant-number sequence, is bounded 0 to 20, and concrete n-to-value examples disambiguate the indexing convention. It does not explain why the cap is 20, but the semantics are otherwise clear.

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 precise verb/resource: computes the nth secant number, with the exact formula E(2n) = (-1)^n * a(2n) and worked values for n=0,1,2,3. That is far more specific than a title restatement. It does not explicitly distinguish itself from the Euler-number siblings such as euler_zigzag, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the domain constraint (n from 0 to 20) tells the agent when the call is valid, and the pricing note sets a cost expectation. There is no statement of when to prefer this over euler_zigzag or any other Euler-number sibling, and no exclusion guidance.

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