Skip to main content
Glama

Describe a Liquid Web API method

lw_api_path_details
Read-onlyIdempotent

Retrieves the input and output arguments for any Liquid Web API path, helping you prepare calls or diagnose input errors before using a raw API request.

Instructions

Get the input and output arguments for any Liquid Web API path (Utilities/Info/apiPathDetails). Use before lw_raw_call or when a call fails with an input error.

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_api_path_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAPI path, e.g. "Network/DNS/Record/create" or "v2/server/create".
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
versionNoAPI version of the path to describe (default v1).

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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the useful framing that the payload is a description of arguments, but says nothing further about response shape, version fallback behavior, or whether an unknown path errors versus returns empty. With annotations this rich, a 3 is appropriate.

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?

Two sentences, no padding, with the core purpose stated first and the usage routing second. Every clause earns its place, including the parenthetical method identifier.

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?

An output schema exists, so return values need not be explained, and all three parameters are fully documented in the schema. The description covers purpose and workflow, but leaves the version-versus-path interaction and error behavior unaddressed, a minor gap for a low-risk read-only introspection 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 description coverage is 100%, including the path format example, the auth context reference to lw_contexts, and the version default of v1. The description adds only the notion of 'any API path' and does not clarify how version interacts with the path string, so it neither helps nor compensates beyond the schema baseline.

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 gives a specific verb and resource: retrieve input and output arguments for any Liquid Web API path. It even names the underlying method (Utilities/Info/apiPathDetails), which pins down exactly what is being described and separates it from detail tools like lw_server_details or lw_record_details.

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?

Two explicit triggering conditions are stated: use before lw_raw_call, and use when a call fails with an input error. Both name a concrete alternative or failure mode, so the agent knows when to prefer this tool over directly invoking the raw call.

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