Skip to main content
Glama

ScorpTech x402 Tools

Cows Mod

cows_mod
Read-onlyIdempotent

Narayana's cow term a(n) modulo m. a(11) mod 5 is 3, and a(15) mod 10 is 9. n runs from 1 to 60 and m runs from 1 to 1000000. Returns JSON with: n, m, 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-mod

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>",
      "m": "<m>"
    },
    "name": "cows_mod"
  }
}

Input Schema

NameRequiredDescriptionDefault
mYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/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, open-world. The description adds behavior annotations don't cover: the exact JSON return fields (n, m, value), a per-call price, and a payable x402 endpoint with two chains. It does not mention failure modes for out-of-range inputs, but the ranges are stated.

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?

Front-loaded with the definition and example, then bounds, then return shape, then price and endpoint. Every sentence carries information an agent needs; nothing is padded.

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?

There is no output schema, yet the description enumerates the returned fields, and with only two bounded integer parameters the description plus schema is nearly self-sufficient. Only the precise left-to-right mapping of n and m to the sequence index and modulus is left implicit.

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, and it largely does: the worked examples 'a(11) mod 5' map the first argument to the term index and the second to the modulus, and the stated ranges (n 1-60, m 1-1,000,000) match the schema bounds. It stops short of naming the parameters explicitly, so an agent must infer which is which from example position.

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?

Names a specific mathematical object (Narayana's cow term) and a specific operation (mod m), with worked examples 'a(11) mod 5 is 3'. That is enough to separate it from the many sibling '*_mod' tools and from 'narayana' itself.

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?

The examples imply when the tool is appropriate (a modular residue of a single term is wanted), but there is no explicit statement of when to prefer it over siblings such as 'narayana' (full term) or 'cows_next'. Usage is inferable, not stated.

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