Skip to main content
Glama

set_network_config

Idempotent

Updates a camera's network interface settings—IPv4 mode (DHCP or static), IP address, subnet mask, gateway, and hostname—so you can reconfigure connectivity.

Instructions

Update network interface: IPv4 type, address, subnet, gateway, hostname.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_network_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostnameNoHostname
ipv4TypeNoIPv4 type (DHCP, Static)
ipv4AddressNoIPv4 address
ipv4GatewayNoDefault gateway
ipv4SubnetMaskNoSubnet mask

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare this a mutating but idempotent, non-destructive operation, so the description is not obliged to restate safety flags. However, it adds nothing beyond them: for a network reconfiguration tool, an agent needs to know that changes may disrupt connectivity, whether they apply immediately or require a restart, and how omitted fields are treated. None of that is present.

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?

A single front-loaded sentence with no redundant wording. The field enumeration is compact and scannable.

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?

This is a mutation tool with no output schema and zero required parameters, which raises a key unanswered question: does calling it with only a hostname perform a partial update, or reset unspecified fields to defaults? The description does not address partial-update semantics, error behavior, or the effect of applying changes, leaving significant gaps for a configuration-write tool.

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 coverage is 100%, so all five parameters are documented, including the DHCP/Static choice for ipv4Type. The description merely relists the same fields without adding format hints, defaults, or the relationship between ipv4Type and the address/subnet/gateway fields, so it meets the baseline but adds no meaning.

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?

States a specific verb and resource ('Update network interface') and enumerates the affected fields, making it clearly the write counterpart to get_network_config. It does not name any sibling explicitly, but the resource and scope are unambiguous.

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 when-to-use guidance, no statement of prerequisites, and no mention of alternatives such as inspecting current settings via get_network_config first. The only hint of usage context comes from the get/set naming pairing, which the description itself does not leverage.

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