Skip to main content
Glama

TinyFn

cidr_info

Get information about a CIDR range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidrYesCIDR notation (e.g., 192.168.1.0/24)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidrNo
codeNo
errorNo
netmaskNo
versionNo
hostmaskNo
last_hostNo
num_hostsNo
first_hostNo
is_privateNo
num_addressesNo
prefix_lengthNo
network_addressNo
broadcast_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. 'Get information' implies a read-only operation, but no details on potential side effects or permissions are given. It is adequate but minimal.

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 very concise and to the point, but it could be slightly more descriptive (e.g., mention what kind of information is returned). It is not verbose.

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?

Given the simple single parameter and the existence of an output schema (not shown), the description is reasonably complete. It does not cover edge cases or examples, but the tool is straightforward.

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?

Schema description coverage is 100%, and the parameter 'cidr' is well-described with an example. The description adds no additional meaning beyond the schema, so baseline score of 3 is appropriate.

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 clearly states the tool returns information about a CIDR range. However, it does not distinguish itself from sibling tools like network_info or expand_cidr, which might provide overlapping functionality.

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?

No guidance is provided on when to use this tool over alternatives like cidr_to_netmask or subnet_calculator. There are many sibling tools with similar purposes.

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.