Skip to main content
Glama

Unpublish activity

unpublish_activity
Destructive

Unpublish an activity so that it can no longer be played. It stays editable and can be published again.

Input Schema

NameRequiredDescriptionDefault
activity_idYesId of the activity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description usefully qualifies that: the activity 'stays editable and can be published again,' so the agent knows this is a reversible state change rather than data loss. It still omits side effects on live learners/audience settings, so it adds real but incomplete context.

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, effect front-loaded, with the reversibility note second. Nothing is padded or redundant.

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 single-parameter mutation with no output schema and annotations covering the safety profile, the description gives the essential state-transition semantics. Minor gaps remain around prerequisites and whether audience/privacy state is preserved.

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?

Only one parameter and schema coverage is 100%, so the schema fully documents activity_id. The description adds no format, range, or sourcing detail beyond it — the baseline 3 applies when the schema does all the work.

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?

States a specific verb (unpublish) and resource (activity) plus the concrete effect: the activity can no longer be played. That is enough to separate it from publish_activity, though it never names the sibling or contrast explicitly.

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?

Usage is implied by the effect statement — take an activity offline without deleting it — but there is no explicit when-to-use, no prerequisites (e.g. whether the activity must currently be published), and no named alternatives such as update_activity for pure edits.

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