Skip to main content
Glama

Lah Row

lah_row
Read-onlyIdempotent

Row n of the unsigned Lah numbers, from L(n, 0) through L(n, n), written as comma-separated integers. Row 5 is 0,120,240,120,20,1. n runs from 0 to 12. Past 15 digits a term inside the row is still written in decimal. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/lah-row

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the safety profile is clear. The description adds useful operational context beyond annotations: x402 payment cost, Solana payment mention, HTTPS endpoint alternative, and output formatting for terms longer than 15 digits.

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 core definition is front-loaded and followed by a compact example, range constraint, output-format note, and payment/endpoint details. Each sentence contributes useful information without padding.

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 one-parameter, read-only math tool with no output schema, the description supplies the return format, example output, valid range, large-number formatting behavior, and payment details. An agent has enough information to invoke it correctly.

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 parameter meaning. It defines n as the row index, states the range 0 to 12, explains that the row runs L(n, 0) through L(n, n), and gives a concrete example for n=5.

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?

The description states a specific mathematical resource and exact scope: row n of the unsigned Lah numbers from L(n, 0) through L(n, n). It also gives an example row and distinguishes the row-output shape from sibling term-level tools such as lah.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description explains what the tool returns and gives the valid n range, but it does not say when to use this tool instead of lah or other related sequence tools. It also provides no explicit when-not or alternative-selection 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