Skip to main content
Glama
This connector has been deprecated

Replaced by ZapX by ZAP-Hosting.

Duplicate listing. ZapX by ZAP-Hosting is maintained under ZapX by ZAP-Hosting (same endpoint https://zap-hosting.com/api/mcp, verified owner, test profile). Please use that listing.

Edit Discord Bot File

mutate_discord_bot_file
Destructive

Create, rename, delete, or write Discord bot file content. Destructive actions require confirm=true. Requires an active ZapX Pass (see server instructions).

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": {
      "serviceId": "<serviceId>",
      "action": "<action>",
      "path": "<path>"
    },
    "name": "mutate_discord_bot_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
actionYes
confirmNo
contentNo
newNameNo
serviceIdYesID of the Discord bot: the "id" field from list_account_services or list_discord_bots (e.g. "cmabc123..."). The numericId shown in the panel (e.g. "180") is accepted too. IDs of other service types do not work here.
expectedRevisionNo`revision` returned when the file was read. With action `write` the write is refused (409 file_changed) when the file changed since; re-read and retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, and the description adds valuable context beyond them: confirmation is required for destructive actions and an active ZapX Pass is required. It still does not explain exactly which actions are destructive or what each destructive action affects.

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 short sentences, front-loaded with the action set and immediately followed by the two operational constraints. There is no filler and every sentence carries relevant information.

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 destructive, seven-parameter mutation tool with no output schema, the description covers the most important prerequisites but remains thin on action-specific parameter requirements and destructive consequences. It is minimum viable rather than complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 29% across seven parameters. The description names the action verbs and the confirm requirement, but does not explain the roles of path, content, newName, or how serviceId/expectedRevision interact with specific actions, so it does not compensate for the low schema coverage.

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?

The description states specific verbs (create, rename, delete, write) and a specific resource (Discord bot file content). It is clear what the tool does, though it does not explicitly name the read/list sibling as the non-mutating alternative.

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?

It gives useful prerequisites: destructive actions require confirm=true and an active ZapX Pass is needed. However, it does not explicitly say when to choose this over read_discord_bot_file or list_discord_bot_files, so usage against alternatives is only implied by the mutation verbs.

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