Skip to main content
Glama

ScorpTech x402 Tools

Tangent Number

tangent_number
Read-onlyIdempotent

The nth tangent number. T1 is 1, T2 is 2, T3 is 16, and T4 is 272. It is read from the Bernoulli number B(2n). n runs from 1 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/tangent-number

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": "tangent_number"
  }
}

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 declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that: the decimal-string representation past 15 digits, the exact JSON return shape (n, value), and the paid x402 cost model with a per-call price.

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 purpose and examples, then moves to range, representation, return shape, and pricing in a compact sequence. A few clauses (the HTTPS endpoint restatement, the example list) could be trimmed without losing call-critical information.

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?

For a one-parameter read-only math tool with no output schema, the description covers everything needed to call it correctly: valid n range, value type behavior, and the return structure. Only the lack of explicit sibling disambiguation keeps it from being fully complete.

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 carries the burden, and it does supply the meaning of n along with the 1–20 boundary and worked examples that make the indexing convention unambiguous. The range is largely redundant with the schema's minimum/maximum, keeping it just short of a 5.

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 names a specific resource (the nth tangent number) and anchors it with concrete example values (T1=1, T2=2, T3=16, T4=272) plus the Bernoulli-number derivation. It does not explicitly distinguish itself from the sibling `bernoulli` tool, which is the one alternative an agent might confuse it with.

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 constraints are implied by stating the valid range 'n runs from 1 to 20' and the precision behavior past 15 digits, so an agent knows the operating envelope. There is no explicit when-to-use guidance or naming of an alternative (e.g., `bernoulli`) for cases where the underlying term rather than the tangent number is wanted.

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