Skip to main content
Glama

unpublish_agent

DestructiveIdempotent

Take a published agent offline to stop its webhooks and channels from responding and hide it from list_agents until republished; schemas, triggers, and conversations are retained.

Instructions

Take a published agent offline. Its webhooks and other channels stop answering, and it leaves list_agents until it is published again; find it with list_agents include_unpublished. Schemas, triggers and conversations are kept.

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

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses the concrete runtime effect (webhooks and other channels stop answering), the visibility effect (drops out of list_agents until republished), and critically what is preserved (schemas, triggers, conversations). That retention statement meaningfully bounds the destructiveHint=true flag, telling the agent this is a reversible state change rather than data loss.

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, front-loaded with the action, then the effects in decreasing order of importance (channels, listing, retention). No filler or restatement of the tool name.

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 one-parameter, idempotent state-change tool with no output schema, the description covers effect, discoverability afterward, and data retention — everything an agent needs to decide and call correctly. Annotations already carry the safety profile.

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% for the single agent_id parameter, so the schema already does the documentation work. The description adds no format, sourcing, or validation detail beyond what is in the schema; 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?

"Take a published agent offline" gives a specific verb (offline/unpublish) and resource (agent) with an explicit precondition (must be published). It clearly contrasts with publish_agent and delete_agent by stating the agent is not removed but merely withdrawn from list_agents.

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

Usage Guidelines4/5

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

The description establishes the operating context (an already-published agent) and points to the concrete follow-up path: find it via list_agents with include_unpublished, and re-publish to restore. It stops short of an explicit exclusion such as "use delete_agent if you want permanent removal," so it is clear but not fully comparative.

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