Skip to main content
Glama

ScorpTech x402 Tools

Delannoy Sum

delannoy_sum
Read-onlyIdempotent

The sum of Delannoy numbers D(m,0) through D(m,hi). The sum through D(4,4) is 501. m and hi run from 0 to 64. Past 15 digits the sum is a decimal string. Returns JSON with: m, hi, count, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/delannoy-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": {
      "m": "<m>",
      "hi": "<hi>"
    },
    "name": "delannoy_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
mYes
hiYes

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 the safety profile (readOnly, idempotent, non-destructive, open world), and the description adds real behavioral detail beyond them: big-number handling ('past 15 digits the sum is a decimal string'), the JSON keys returned, and a paid x402 pricing model requiring USDC on Base or Solana. The paid/payment requirement is a meaningful operational disclosure; only failure or refund behavior is left unstated.

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 dense and front-loaded: formula first, then example, bounds, return shape, and pricing in descending order of importance. The restated '0 to 64' range duplicates the schema's minimum/maximum and is the one line that does not earn its place.

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 two-parameter computational tool with no output schema, the definition supplies the formula, bounds, example, output field names, and cost model, plus an HTTPS endpoint alternative — enough to call and interpret results correctly. Annotations carry the rest of the safety profile, so the remaining gap is minor.

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?

With 0% schema description coverage the description must carry parameter meaning, and it does: it establishes that hi is the upper bound of the summation index and m the fixed first index, so an agent knows the computation performed. The repeated 0..64 range adds nothing over the schema's min/max, and neither parameter is described individually in prose.

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?

Names a specific mathematical operation on a specific sequence ('sum of Delannoy numbers D(m,0) through D(m,hi)') and backs it with a concrete worked example (D(4,4)=501). It does not, however, distinguish itself from the sibling 'delannoy' tool, leaving the agent to infer that this one returns a cumulative sum rather than a single term.

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 context is only implied via the domain constraints (m and hi bounded 0..64) and the canned example, which lets an agent sanity-check a call. There is no explicit statement of when to pick this over 'delannoy' or 'central_sum', nor any note on error conditions or invalid inputs.

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