Skip to main content
Glama

Publish a Setup Snapshot

publish_setup_snapshot

Publishes a new sanitized setup snapshot: title, summary and items. Each item gives platform, itemType, name, summary, optional sanitizedContent and a required stateClassification; only portable, non-private-memory, supported-provider items are accepted. Secret-shaped values and local absolute paths are refused; sensitive vocabulary raises an item's riskLevel unless listed in its acknowledgedTerms. Returns snapshot id, revision, privacyWarnings, acknowledgeable terms and coverage (compacted under 50,000 chars with acknowledgeableUniqueTerms and acknowledgeableGroups when large). dryRun: true checks without saving. visibility defaults to private (readable only by the user and through grants); public also shows item names, types and risk levels on the user's public profile. get_reference topic "snapshot_guide" lists item types for every platform, formats and limits. [Bearer scope: setup_snapshot:publish]

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": {
      "title": "<title>",
      "summary": "<summary>"
    },
    "name": "publish_setup_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNo
titleYes
dryRunNoWhen true, runs the full content scan and coverage report and returns privacyWarnings and acknowledgeable without saving anything (no snapshot, revision or audit entry).
sourceNo
summaryYes
visibilityNoDefault 'private' (readable only by the user and through grants). 'trusted' and 'grant_scoped' also allow grant-based summaries; 'public' also shows item names, types and risk levels on the user's public profile.
platformsDetectedNoPlatform name → true; up to 64 keys, counting the items' platforms.
exportableAtomRefsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare the safe-mutation profile (readOnly=false, destructive=false, idempotent=false); the description goes well beyond that by disclosing the sanitization rules (secret-shaped values and local absolute paths refused), the riskLevel escalation triggered by sensitive vocabulary, the acknowledgedTerms escape hatch, and the exact return payload including privacyWarnings and coverage compaction under 50,000 chars. It also states the auth scope and the concrete effect of visibility=public on the user's profile, which annotations cannot express.

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?

The action and payload shape are front-loaded in the first clause, and each following sentence adds new constraints rather than restating the name. The semicolon-chained style is dense and takes effort to parse, but almost no wording is wasted.

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?

With no output schema, the description correctly spells out return values (snapshot id, revision, privacyWarnings, acknowledgeable terms, coverage), and it covers the nested item object, dryRun, visibility and auth for a complex 8-parameter tool. The remaining gaps are the undocumented source, platformsDetected and exportableAtomRefs parameters and any statement about duplicate-creation behavior given non-idempotency.

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 only 38%, so the description must carry weight, and it does: it enumerates the item fields (platform, itemType, name, summary, sanitizedContent, required stateClassification), explains acknowledgedTerms semantics and the refusal rule, and clarifies dryRun and visibility behavior. Three parameters — source, platformsDetected and exportableAtomRefs — get no mention in either the description or the schema, which keeps this from a 5.

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 opens with a specific verb and resource: 'Publishes a new sanitized setup snapshot: title, summary and items.' The word 'new' implicitly separates it from update_setup_snapshot, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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 gives useful operational guidance — 'dryRun: true checks without saving' and 'get_reference topic "snapshot_guide" lists item types' — but never states when to choose this over update_setup_snapshot or publish_workflow_recipe, nor any prerequisite beyond the bearer scope. Usage is implied by 'new' rather than spelled out.

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