Skip to main content
Glama

ScorpTech x402 Tools

Look Say Count

look_say_count
Read-onlyIdempotent

How many times a digit occurs in the nth look-and-say term. Term 5 is 111221, so it has four 1s and two 2s. A digit from 4 through 9 occurs zero times in the classic sequence. n runs from 1 to 25, and the digit runs from 0 to 9. Returns JSON with: n, digit, 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-count

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>",
      "digit": "<digit>"
    },
    "name": "look_say_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes
digitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the description doesn't need to re-assert them. It adds value the annotations cannot carry: the return shape (n, digit, value), the per-call price of $0.001 USDC via x402, and an equivalent HTTPS endpoint. Only minor gaps remain, such as the failure mode for an out-of-range n or what 'value' contains.

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 definition, then an example, then bounds, return fields, and pricing — a sensible ordering with little filler. The pricing/endpoint sentence is dense but operationally necessary. Slightly cramped as a run-on of facts rather than separated concerns.

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 simple two-parameter, read-only counting tool with no output schema, the description supplies what an agent needs: input bounds, a clarifying example, the exact returned fields, cost, and an alternate transport. It stops short of describing error behavior for invalid n or what happens outside the classic sequence.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description had to carry the full parameter burden and largely does: n is bounded to 1–25 and digit to 0–9, matching the schema constraints, and the term-5 example concretely explains what 'nth term' indexes. The note that digits 4–9 yield zero in the classic sequence gives genuine semantic meaning about expected output for the digit parameter.

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 opening sentence states a precise verb+resource: counting digit occurrences in the nth look-and-say term. The worked example (term 5 = 111221 → four 1s, two 2s) removes ambiguity about what 'count' means. It does not explicitly contrast itself with near-name siblings like look_say_digit or look_say_len, so an agent must infer the difference from names alone.

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?

There is no explicit when-to-use / when-not-to-use statement or named alternative. However, the constraint that digits 4–9 never occur in the classic sequence is genuine usage guidance that steers the agent away from futile calls. Boundary facts (n from 1 to 25, digit 0 to 9) further imply the valid operating envelope.

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