Skip to main content
Glama

Publish activity

publish_activity
Destructive

Publish an activity so that it can be played and shared. It checks the publishing blockers itself and, when the activity is not ready, fails with their list.

Input Schema

NameRequiredDescriptionDefault
activity_idYesId of the activity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing that the tool self-validates and fails with a blocker list rather than silently publishing, but it never says whether publishing is reversible, what state the activity ends in on success, or why the operation is flagged destructive.

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 tight sentences with no filler: the purpose and outcome come first, then the failure behavior. Nothing is repeated from the title or schema, and every clause is load-bearing.

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 one-parameter, no-output-schema tool with full annotation coverage, the description supplies both the success intent and the failure mode, which is close to sufficient. It stops short of covering reversibility or post-publish visibility, the two facts most likely to affect an agent's decision.

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?

There is a single parameter with 100% schema description coverage, so the schema fully documents activity_id. The description adds no format, sourcing, or constraint detail beyond it, which is the expected baseline for a well-covered schema.

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?

Specific verb (publish) plus resource (activity) and the observable outcome (playable and shared), so an agent can distinguish it from unpublish_activity and update_activity. It does not explicitly name the closely related sibling get_publish_blockers, which is the main thing an agent would weigh it against.

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 context is implied rather than stated: you call this when you want an activity to become playable/shared. There is no explicit 'use X instead when Y' guidance, even though get_publish_blockers and unpublish_activity are obvious alternatives in the sibling set.

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