Skip to main content
Glama

add_static_route

Idempotent

Add a static route for a CIDR network via a LAN gateway using a preview-then-confirm flow.

Instructions

Route a network (CIDR, e.g. 10.99.0.0/24) via a LAN gateway. Two-phase.

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": {
      "destination": "<destination>",
      "gateway": "<gateway>"
    },
    "name": "add_static_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricNo
confirmNo
gatewayYes
destinationYes
expected_etagNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already establish that this is a non-read-only, idempotent, non-destructive, closed-world mutation. The description's only added behavioral signal is the cryptic "Two-phase", which is never unpacked into a preview-then-confirm sequence or an explanation of what confirm=true does. Nothing is said about immediate effect on routing, rollback, or validation.

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?

Two short, front-loaded sentences with no filler; the format hint sits right next to the resource it describes. The brevity crosses into under-specification rather than verbosity, but structurally it is clean.

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

Completeness2/5

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

For a 5-parameter mutation with 0% schema coverage, a confirm gate, and etag-based concurrency, this description is far too thin; an output schema exists so return values needn't be covered, but the two-phase contract and parameter meanings should be. An agent could not reliably invoke this correctly on the description alone.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description must compensate and largely does not. It only clarifies the destination format (CIDR with an example); gateway, metric, confirm, and expected_etag receive no explanation at all, and the etag/optimistic-concurrency semantics are never surfaced.

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 names a specific verb and resource ("Route a network ... via a LAN gateway") and uses a concrete CIDR example, which clearly separates it from list_static_routes and delete_static_route. The trailing "Two-phase" is unexplained and slightly muddies an otherwise crisp statement.

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?

There is no guidance on when to choose this over list_static_routes or delete_static_route, and no mention of prerequisites such as fetching an expected_etag first. The "two-phase" phrase implies a workflow but never states what the phases are or what the caller must do between them.

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