modulo
Compute the remainder of dividing two numbers. Returns error if divisor is zero.
Instructions
Remainder of a / b. Errors on zero divisor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Compute the remainder of dividing two numbers. Returns error if divisor is zero.
Remainder of a / b. Errors on zero divisor.
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate read-only, non-destructive, and idempotent behavior. The description adds the important error condition on zero divisor, but does not disclose other potential behaviors (e.g., handling of negative numbers, return value details).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise: two short sentences with no superfluous words. It front-loads the purpose and effectively communicates the key behavior.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool, rich annotations, and no output schema, the description covers the core operation and error case. It is mostly complete, though missing details on return type and edge cases (e.g., negative numbers) are acceptable for a basic arithmetic tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description only implies the roles of 'a' and 'b' via the phrase 'remainder of a / b'. It does not provide explicit parameter semantics or constraints beyond the schema types.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the operation ('remainder of a / b') and explicitly mentions the error condition on zero divisor, which distinguishes it from sibling tools like 'divide'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not provide explicit guidance on when to use this tool versus alternatives (e.g., 'divide', 'modulo' variants). The context is implied but not stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/islobodan/cruncher-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server