Skip to main content
Glama

upsert_route_exclusion

Create or update a route exclusion to define CIDR collections that bypass the Bowtie tunnel. Changes are staged and return a change_id until applied.

Instructions

Create or update a route exclusion. Route exclusions define CIDRs (via a collection) that bypass the Bowtie tunnel. Returns a change_id; nothing changes until apply_change.

Args: name: Human-readable name for the exclusion. collection_id: Collection containing the CIDRs to exclude. exclusion_id: UUID to update existing; omit to create new.

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": {
      "name": "<name>",
      "collection_id": "<collection_id>"
    },
    "name": "upsert_route_exclusion"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
exclusion_idNo
collection_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and discloses the critical two-phase commit behavior: a change_id is returned and nothing takes effect until apply_change is invoked. It does not cover permissions/auth requirements, idempotency, or what happens to fields omitted on an update, which are notable gaps for a mutation tool.

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 effect and the apply_change caveat, then a compact Args block. Every sentence adds information; no filler or restatement of the tool name.

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?

For a 3-parameter mutation with no annotations, the definition covers purpose, the create/update branch, parameter meaning, and the deferred-commit workflow; the output schema handles return structure. Missing only auth/permission prerequisites and update-merge semantics.

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 compensate, and it does for all three parameters: name's purpose, collection_id as the CIDR container, and exclusion_id as the create-vs-update switch. It doesn't add format/syntax details (e.g. UUID format for collection_id) beyond the bare types.

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 pair and resource ('Create or update a route exclusion') and then defines what the resource means ('CIDRs (via a collection) that bypass the Bowtie tunnel'). An agent can distinguish it from delete_route_exclusion and list_route_exclusions from the description alone.

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 the create-vs-update decision rule explicitly ('exclusion_id: UUID to update existing; omit to create new') and routes the agent to the required follow-up ('nothing changes until apply_change'). It stops short of stating when to prefer this over deleting/recreating an exclusion or listing existing ones first.

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