Skip to main content
Glama

Run one ZapX tool

call_tool
Destructive

Run exactly ONE ZapX tool that changes something (restart, start/stop, write a file, install, update a setting, create/delete) by its name, with its arguments. Find the tool and its declaration with search_tools first. Ask the user before every change; the tool's own rules apply unchanged (confirm=true, previews, step-up, Pass). For reading, and for file changes across several files, prefer run_script.

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

Input Schema

NameRequiredDescriptionDefault
nameYesExact tool name (from search_tools).
argumentsNoThe tool's arguments as declared.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, and idempotentHint=false, so the description's job is to add policy beyond that — which it does: one tool per call, human confirmation before every change, and that the target tool's own rules (confirm=true, previews, step-up, Pass) apply unchanged. It does not describe failure behavior or what is returned when the invoked tool errors, which keeps it from a 5.

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?

Three sentences, front-loaded with the core action and immediately followed by the search-first workflow and the sibling alternative. Dense but every clause carries instruction; the parenthetical jargon (step-up, Pass) is the only mild cost to readability.

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 two-parameter passthrough invoker with no output schema, the description covers discovery (search_tools), the confirmation policy, the single-invocation constraint, and the run_script alternative. Remaining gaps — error surfacing and result format — are modest given the annotations already flag it as destructive and open-world.

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% and the schema already explains that `name` is the exact tool name from search_tools and that `arguments` are the tool's declared arguments. The description reinforces the passthrough contract but adds no syntax, validation, or shape detail beyond what the schema states, so the baseline 3 applies.

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 ("Run exactly ONE ZapX tool") plus the scope constraint that it must be a mutating tool, enumerating examples (restart, start/stop, write a file, install, update a setting, create/delete). It also explicitly separates itself from the sibling run_script, so an agent can pick the right tool without opening either schema.

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?

Gives explicit routing: search_tools first to find the tool and its declaration, prefer run_script for reading and for file changes across several files, and ask the user before every change. When-to-use, when-not-to-use, prerequisite ordering, and the alternative are all named.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources