Skip to main content
Glama

web_plan_write

Generates a dry-run integrity-web-gate-plan/v2 JSON plan with live preimage, uplink/form guards, and rollback template for safe writes without changing target state.

Instructions

Generate a dry-run integrity-web-gate-plan/v2 JSON plan with live preimage, uplink/form guards, and rollback template (zero mutation).

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": {
      "url": "<url>",
      "write_name": "<write_name>",
      "params": "<params>"
    },
    "name": "web_plan_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTarget HTTP/HTTPS URL.
paramsYesTemplate parameters for the write operation.
out_pathNoOptional workspace-relative path to save the plan JSON.
write_nameYesNamed write template in the recipe.
recipe_nameNoOptional recipe name (auto-probed if omitted).
uplink_portsNoProtected uplink port numbers for anti-self-lockout guard.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the full side-effect burden, and it does clearly state zero mutation plus mentions live preimage reads, anti-self-lockout uplink guards, and a rollback template. However, terms like "integrity-web-gate-plan/v2" and "live preimage" are undefined jargon, and it says nothing about network access needs, failure modes, or what the caller should do with the generated plan.

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?

A single front-loaded sentence with a clear verb and the key safety property in parentheses at the end. No wasted words, though the density of unexplained domain terms reduces readability.

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

Completeness3/5

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

For a six-parameter tool with a nested params object and no output schema, the description should convey what the produced plan looks like and how out_path/recipe_name resolution behaves; it only hints at plan contents. The rich input schema compensates substantially, but the output artifact remains underspecified.

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 description coverage is 100% with six documented parameters, so the baseline is 3. The description does corroborate a few parameters obliquely (live preimage → url, uplink guard → uplink_ports) but adds no semantics beyond what the schema already documents for write_name, params, recipe_name, or out_path.

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?

Names a specific verb and artifact ("Generate a dry-run ... JSON plan") and scopes it with "zero mutation," which implicitly distinguishes it from an apply-style sibling such as web_apply_write. It stops short of naming the alternative, and the artifact name is idiosyncratic jargon, but the core action is unambiguous.

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

Usage Guidelines3/5

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

"Dry-run" and "zero mutation" imply this is the pre-flight step before an actual write, but the description never says when to use this versus web_apply_write or web_learn_recipe, nor what prerequisites (a valid recipe/write_name) are required. Usage is inferable rather than stated.

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