Skip to main content
Glama
IBM

MCP Math Server

by IBM

is_repdigit

Check if a number has all identical digits in any base. Use this tool to verify repdigit numbers for arithmetic and digital operations.

Instructions

Check if a number has all identical digits (repdigit). (Domain: arithmetic, Category: digital_operations)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nYes
baseNo
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states what the tool does (checking for repdigits) but does not describe how it behaves: e.g., whether it handles negative numbers, zero, non-integer inputs, or what the return value looks like (e.g., boolean or detailed output). For a tool with zero annotation coverage, this is a significant gap in transparency.

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?

The description is concise and front-loaded: the first sentence clearly states the tool's purpose. The second sentence adds domain/category context, which is somewhat redundant but not wasteful. It uses only two sentences with no fluff, making it efficient for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (simple check), no annotations, no output schema, and low schema coverage, the description is minimally adequate. It states what the tool does but lacks details on behavior, parameters, and output. For a straightforward tool, this might suffice, but it leaves gaps that could confuse an agent about edge cases or return format.

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

Parameters3/5

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

The input schema has 0% description coverage, so the schema provides no parameter semantics. The description does not mention any parameters (n, base) or explain their roles. However, since there are only 2 parameters and the tool's purpose is straightforward (checking if all digits are identical), the lack of parameter explanation is partially mitigated by the tool's simplicity, but it still leaves the base parameter's purpose unclear.

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?

The description explicitly states the tool's purpose: 'Check if a number has all identical digits (repdigit).' It uses a specific verb ('Check') and resource ('a number'), and distinguishes itself from siblings by focusing on a unique digital property (repdigit detection) rather than general arithmetic operations like 'add' or 'divide'.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. While it mentions 'Domain: arithmetic, Category: digital_operations,' this is too vague to help an agent choose between this and other digital operation tools like 'is_palindromic_number' or 'digit_frequency.' There are no explicit when/when-not instructions or named alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IBM/chuk-mcp-math-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server