Skip to main content
Glama

Call any Liquid Web API method (gated)

lw_raw_call
Destructive

Execute any Liquid Web API method, including writes, when no dedicated tool is available; requires a preview and confirmation token before destructive calls run.

Instructions

Last-resort passthrough to any Liquid Web API method, including writes, when no dedicated lw_* tool exists. Treated as destructive: needs LW_ALLOW_RAW_CALLS (default on), LW_ALLOW_WRITES and LW_ALLOW_DESTRUCTIVE, then a confirmation step with a preview of the exact method and params. Always refuses Account/Auth/, API user and token creation (Account/User/generateAPIUser), user create/update/delete and role changes, payments (Billing/Payment/make), Basket/purchase, PasswordReset, TwoFactor and CreditCard methods. Secret-bearing methods (password, credential, console) also need LW_ALLOW_SECRETS. Never retried. Prefer lw_raw_read for reads and dedicated tools for DNS and server changes, since they show before/after diffs. Destructive: needs LW_ALLOW_WRITES and LW_ALLOW_DESTRUCTIVE, then a confirmation step.

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": {
      "path": "<path>"
    },
    "name": "lw_raw_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAPI path, e.g. "Network/DNS/Zone/summary", "bleed/Network/DNS/Domain/details" or "v2/asset/details". A version prefix in the path is honored.
paramsNoThe params object sent as {"params": {...}}. Check inputs with lw_api_path_details first.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
versionNoAPI version. Overrides a prefix in path. Default v1.
confirm_tokenNoLeave empty on the first call to get a preview and a token. Repeat the call with identical parameters plus this token to execute.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=true, but the description adds a lot of context beyond them: the environment variables that must be set (LW_ALLOW_RAW_CALLS, LW_ALLOW_WRITES, LW_ALLOW_DESTRUCTIVE, LW_ALLOW_SECRETS for secret-bearing methods), the preview-then-confirm-token workflow, and the fact that it is never retried. It also lists hard-refused path families, so an agent knows what will fail before making the call.

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?

The opening sentence is front-loaded with purpose and scope, and the refusal list is terse and scannable. However, the description ends by repeating the destructive-gate and confirmation requirement that it already stated earlier, which is dead weight in an otherwise efficient definition.

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

Completeness5/5

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

For a gated destructive tool, this covers purpose, alternatives, environment gates, the refusal list, the secret-gating rule and the retry policy; the schema carries the rich parameter details and an output schema exists. An agent has everything it needs to decide whether to call this tool and how to complete the confirmation flow.

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%, so every parameter (path, params, context, version, confirm_token) is already documented in the input schema, including the preview/confirm-token protocol. The description restates the confirmation step but adds no path syntax, version-prefix behavior or params-object semantics beyond the schema. That meets the baseline 3 and no higher.

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?

The description states a specific verb and resource: a last-resort passthrough to any Liquid Web API method, including writes. It also sets the gating condition, 'when no dedicated lw_* tool exists', which keeps this tool distinct from lw_raw_read and the many dedicated lw_* siblings.

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

Usage Guidelines5/5

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

It states exactly when to use this tool (no dedicated lw_* tool exists) and names alternatives: use lw_raw_read for reads, and dedicated tools for DNS and server changes because they show before/after diffs. The description also lists hard exclusions such as Account/Auth/*, payment, basket and credential methods. The only weakness is that the destructive-requirements sentence is repeated verbatim, which adds noise rather than guidance.

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

Deploy Server

Other Tools