Skip to main content
Glama

Yumi PyPI Wheel Evidence

Exact CIDR set difference

network_set_evidence
Read-onlyIdempotent

Compares two bounded IPv4 and IPv6 CIDR sets. before contains included ranges and after supplies the second set. For subtraction, put ranges to exclude in after and read removed for before minus after. added is after minus before. Reports canonical CIDR ranges, address counts, and witnesses. Address counts are exact decimal strings. Keep them as strings for display and use BigInt for arithmetic. A failed comparison is unavailable, not zero. A successful response can contain more CIDRs than a request accepts or include IPv4-mapped IPv6 ranges that requests reject. To reproduce a comparison, replay its original public before and after arrays. For a derived comparison with refused or oversized ranges, compare locally without dropping ranges. It does not assess reachability, routing, security policy, configuration, or host usability.

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": {
      "before": "<before>",
      "after": "<after>"
    },
    "name": "network_set_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYesSecond CIDR set; for subtraction, these are ranges to exclude from before. Provide at most 64 canonical CIDRs with zero host bits.
beforeYesCIDRs included in the original before set. Provide at most 64 canonical CIDRs with zero host bits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / after / description
      Added value: +"Second CIDR set; for subtraction, these are ranges to exclude from before. Provide at most 64 canonical CIDRs with zero host bits."
    • addedInput schema / properties / before / description
      Added value: +"CIDRs included in the original before set. Provide at most 64 canonical CIDRs with zero host bits."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds substantial behavioral context beyond them: failed comparisons return "unavailable" rather than zero, successful responses may contain more CIDRs than a request accepts or IPv4-mapped IPv6 ranges that requests would reject, and counts are exact decimal strings requiring BigInt. These are non-obvious traits an agent could not infer from annotations or schema alone.

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-loads the core operation, then layers semantics, failure handling, and edge cases in short declarative sentences with no filler. It is dense at roughly eight sentences, but nearly every one carries distinct information; only the reproduction advice is slightly peripheral.

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 carries the return-value burden and does reasonably well, naming added, removed, canonical CIDR ranges, exact address counts, and witnesses. "Witnesses" is left undefined, which is the main residual gap for an agent reasoning about the response.

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 coverage is 100%, so the baseline is 3, but the description adds real semantic meaning: after can be read as an exclusion set for subtraction and added is after minus before, which the schema does not state. It does not restate the maxItems/length constraints, appropriately leaving those to the schema.

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?

States a specific verb and resource — "Compares two bounded IPv4 and IPv6 CIDR sets" — and immediately pins down the semantics of the two inputs (before = included ranges, after = second set, added/removed directions). An agent knows exactly what computation happens without opening the schema, and the sibling tools are unrelated enough that no differentiation is needed.

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

Usage Guidelines4/5

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

Gives concrete operational direction: for subtraction put exclusions in after and read removed; to reproduce a comparison replay the original before/after arrays; for refused or oversized ranges compare locally without dropping ranges. It also carves out scope ("does not assess reachability, routing, security policy, configuration, or host usability") which tells the agent when not to use it. It stops short of explicit tool-selection routing against alternatives, which keeps it at a 4.

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