Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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 declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral facts: the call is metered at $0.001 USDC per successful call via x402 on Solana, and the same operation is reachable over HTTPS at a named endpoint. That cost/payment disclosure is the kind of context the annotations cannot carry.

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?

Purpose is front-loaded in the first sentence, followed by an example, then domain bounds, then pricing and endpoint. Every element is short, though the n/digit range restatement is slightly redundant with the schema and could be trimmed.

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-integer pure-computation tool with no output schema, the description covers what is computed, the valid input ranges, a sample instance, and the payment mechanics. The only soft gap is that the return type (a single integer count) is implied rather than stated, which is minor for an obvious scalar result.

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 the load, and it does: it establishes that n is the 1-based index of the look-and-say term and digit is the digit symbol being tallied. The stated ranges duplicate the schema's minimum/maximum, but the index meaning and worked example go beyond structured data.

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 precise verb+resource: counting occurrences of a specific digit inside the nth look-and-say term. The worked example (term 5 = 111221 → four 1s, two 2s) makes the operation unambiguous against math siblings. It stops short of naming the near siblings look_say_digit, look_say_len, or look_say_step, so differentiation is only implied by the counting semantics.

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

Usage Guidelines4/5

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

It supplies the operative domain context: n is 1..25 and digit is 0..9, plus the non-obvious fact that digits 4-9 are always zero in the classic sequence, which effectively tells an agent when this call is pointless. It offers no explicit comparison or routing to the sibling look_say tools, so it's clear context without exclusions.

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