Skip to main content
Glama

fritzbox_apply

Destructive

Applies a FRITZ!Box change plan once, verifying the exact expected summary; refuses stale, reused, altered plans or changes when delete operations are disabled.

Instructions

Apply a plan from fritzbox_plan, once. expect must be its exact text, e.g. '1 change, 0 delete'. Refuses if the plan is old, used or altered, removes things while FRITZ_MCP_DELETE is off, or what it touches changed.

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": {
      "plan_id": "<plan_id>",
      "expect": "<expect>"
    },
    "name": "fritzbox_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
expectYes
plan_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the destructive/readOnly annotations by disclosing guard rails: plans are single-use, invalidated when old or altered, and deletes are gated behind the FRITZ_MCP_DELETE setting. These failure modes are exactly what an agent needs before invoking a destructive operation.

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?

Three tight sentences, front-loaded with the action and the plan source, then the required parameter, then the refusal conditions. No filler or repetition.

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 destructive two-parameter tool with no output schema, it covers preconditions, the confirmation parameter, and refusal paths well. It stops short of describing what a successful apply returns or how to recover from a refusal.

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 0%, so the description must carry the load; it defines 'expect' precisely with an example format ('1 change, 0 delete') and situates 'plan_id' as coming from fritzbox_plan. 'plan_id' itself gets no format or lookup detail, keeping it just short of full coverage.

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 ('Apply a plan from fritzbox_plan') plus a scope qualifier ('once'), which cleanly separates it from the sibling that creates the plan. An agent knows exactly what this does without opening the schema.

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?

Establishes the prerequisite (a plan produced by fritzbox_plan) and the single-use constraint, and enumerates refusal conditions (stale, already used, altered, blocked by FRITZ_MCP_DELETE, target changed). It does not explicitly say 'call fritzbox_plan first', but the dependency is strongly implied.

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