Skip to main content
Glama

Publish App

app.publish
DestructiveIdempotent

Publish a custom app so the people it is shared with can open it. Always asks the user first.

Input Schema

NameRequiredDescriptionDefault
appIdYesThe app from app.create

Output Schema

NameRequiredDescriptionDefault
urlYes
appIdYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false; the description adds genuinely new behavior by stating it always prompts the user for confirmation first. However, for a tool flagged destructive it says nothing about what is changed or lost, or that app.unpublish reverses it, leaving the main risk unexplained.

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?

Two short sentences with no filler, and the purpose plus the telling behavioral fact (user confirmation) are both front-loaded. Nothing is redundant, though the second sentence is terse enough to feel like a fragment.

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?

An output schema exists so return values need not be described, and the single parameter is fully covered by the schema. The remaining gap is behavioral: a destructive, idempotent publish with an obvious inverse (app.unpublish) should say what changes for shared users and how to undo it.

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 single appId parameter is already documented as 'The app from app.create', so the schema carries the load. The description adds no format, ownership, or precondition detail beyond it, making the baseline 3 correct.

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 names a specific verb ('Publish') and resource ('custom app') and states the effect ('so the people it is shared with can open it'). It is clear enough to separate from app.unpublish or app.create, though it never names the sibling that reverses it.

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 conveys the outcome that motivates publishing (shared users can open the app), which implies when to use it, and notes the confirmation gate. There is no explicit when-not guidance or pointer to app.unpublish for rollback, so usage is only implied.

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