Skip to main content
Glama

ScorpTech x402 Tools

Delannoy

delannoy
Read-onlyIdempotent

The Delannoy number D(m,n), the number of paths from (0,0) to (m,n) using steps (1,0), (0,1), and (1,1). D(3,5) is 231. m and n run from 0 to 64. Past 15 digits the value is a decimal string. Returns JSON with: m, 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/delannoy

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>",
      "n": "<n>"
    },
    "name": "delannoy"
  }
}

Input Schema

NameRequiredDescriptionDefault
mYes
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, non-destructive, open-world, so the safety profile is covered; the description goes well beyond them by disclosing the price ($0.001 USDC per x402 call, Base or Solana), the JSON return shape (m, n, value), the >15-digit decimal-string representation, and an equivalent HTTPS endpoint. Payment/auth requirements are exactly the kind of context an agent cannot get from the schema.

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?

Front-loaded with the definition and example, then bounds, return format, pricing, and alternate endpoint in descending priority. Every clause carries information; 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 two-integer, read-only numeric tool with no output schema, the description supplies semantics, bounds, example, return shape, and cost. An agent can invoke it correctly and predict the response without further probing.

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 carries the burden; it defines m and n as the endpoint coordinates of the path count and restates the 0–64 bounds. It does not explicitly disambiguate the order of m versus n (they are symmetric here) but otherwise compensates well for the bare schema.

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?

States the exact mathematical object: D(m,n) as the count of lattice paths from (0,0) to (m,n) with steps (1,0), (0,1), (1,1), plus a concrete example (D(3,5)=231). That definition alone separates it from a central-Delannoy or sum variant without needing to name a sibling.

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 domain constraint (m and n from 0 to 64) is stated, but nothing tells an agent when to choose this over delannoy_central or delannoy_sum, nor any precondition beyond the bounds. Usage is implied by the math rather than guided.

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