Skip to main content
Glama

Activate a reviewed artifact style

set_artifact_style
DestructiveIdempotent

Activate the exact private draft the owner reviewed. Use the current expectedRevision and a stable clientRequestId; retries are safe only when draftId, expectedRevision, and clientRequestId are identical.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draftIdYes
clientRequestIdYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint and destructiveHint, so the bar is lower. The description adds the precise condition for safe retries ('retries are safe only when draftId, expectedRevision, and clientRequestId are identical'), which is valuable beyond annotations. It does not describe the destructive side effect in detail, but that is partially covered by destructiveHint.

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?

The description is two sentences with zero fluff. The purpose is front-loaded, and the retry condition adds high-value information without redundancy.

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 tool with no output schema, the description covers the essential operational aspects: what it does, key parameter semantics, and idempotency conditions. It does not mention explicit side effects beyond the destructive hint, but given the simple activation action and annotation coverage, it is sufficiently complete for an agent to invoke correctly.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It explains the role of expectedRevision ('current') and clientRequestId ('stable') and implies draftId is the identifier, providing semantics that the bare schema lacks. It does not fully define each parameter but gives enough operational meaning.

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?

The description states a specific verb ('Activate') and a precise resource ('the exact private draft the owner reviewed'), making it clear this tool activates a specific draft style. It implicitly distinguishes from siblings like get_artifact_style (read) and preview_artifact_style (preview) by focusing on activation after review.

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?

The description provides usage context ('after review') and operational guidance ('Use the current expectedRevision and a stable clientRequestId'), but does not explicitly compare to alternatives or state when not to use this tool. The distinction from publish or preview tools is implied but not stated.

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.