Skip to main content
Glama

ScorpTech x402 Tools

Look Say Digit

look_say_digit
Read-onlyIdempotent

One digit of the nth look-and-say term. The index starts at 0. Term 5 is 111221, so index 3 is 2. An index past the end is rejected. n runs from 1 to 25. Returns JSON with: n, i, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/look-say-digit

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>",
      "i": "<i>"
    },
    "name": "look_say_digit"
  }
}

Input Schema

NameRequiredDescriptionDefault
iYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real context beyond them: 0-based indexing, rejection of indices past the end, the n range 1-25, the exact return fields, and the $0.001 x402 pricing plus HTTPS fallback.

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?

Front-loaded with the core purpose, then indexing rules, the worked example, bounds, return shape, and pricing. Short and dense with no filler, though the pricing and endpoint sentences sit at the end and are somewhat extraneous to tool selection.

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-param, no-output-schema tool, everything an agent needs is present: purpose, index base, valid ranges, error behavior on overflow, and the returned JSON fields. Nothing material is missing.

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 must carry parameter meaning, and it does: i is a 0-based index illustrated with a worked example ('Term 5 is 111221, so index 3 is 2'), and n is bounded 1-25. The n range merely repeats the schema's minimum/maximum, keeping it from 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 states a specific verb+resource: extracts one digit from the nth look-and-say term. This implicitly separates it from look_say (whole term) and look_say_len/count/step, though no sibling is named explicitly.

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 implied rather than stated: the 'one digit' framing suggests picking this over the whole-term tool when a single digit is needed, and the out-of-range rejection is noted. There is no explicit when-to-use versus look_say or look_say_step 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