Skip to main content
Glama

ScorpTech x402 Tools

Cows Index

cows_index
Read-onlyIdempotent

The first index, counting from 1, where Narayana's cow sequence equals n. 0 means n is not a term. 1 is 1, 2 is 4, 4 is 6, 28 is 11, and 5 is 0. n runs from 1 to 1000000. Returns JSON with: 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/cows-index

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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 open-world, so the safety profile is covered. The description adds substantial non-schema context: the JSON return shape, a concrete price ($0.001 USDC per successful call via x402 on Base or Solana), and an equivalent HTTPS endpoint. That payment/transport detail is exactly the kind of thing an agent needs and cannot get from annotations.

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 examples, then return shape, then price and endpoint — a sensible information order. The restatement of the 1..1000000 bound duplicates the schema's minimum/maximum, a small redundancy, but nothing else is padding.

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?

With no output schema, the description usefully discloses 'Returns JSON with: n, value' plus pricing and an alternate endpoint. It is nearly complete for a one-parameter tool, with the remaining gap being that 'value' is not defined relative to the input n, leaving the output fields slightly ambiguous.

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 meaning of n, and it does: n is the sequence value being searched for, bounded 1 to 1,000,000, with the 0-sentinel explained and five concrete input-to-result mappings. The only shortfall is that it doesn't clarify the relationship between the returned 'n' and 'value' fields.

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 operation: an inverse lookup returning the first 1-based index at which Narayana's cow sequence equals n, with 0 as the not-a-term sentinel. That is a specific verb+resource and distinguishes it from cows_next/cows_sum style siblings by implication of the inverse mapping, 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?

Worked examples ('1 is 1, 2 is 4, 4 is 6, 28 is 11, and 5 is 0') make the intended input/output relationship concrete, which is genuine usage guidance. However, there is no explicit statement of when to prefer this over the nearby cows_* or narayana tools, so routing is left to inference.

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