Skip to main content
Glama

Activate a map publication

map_publication_activate

Preview rolling a map forward or back to an immutable publication revision.

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": {
      "mapId": "<mapId>",
      "publicationId": "<publicationId>",
      "expectedCurrentPublicationId": "<expectedCurrentPublicationId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "map_publication_activate"
  }
}

Input Schema

NameRequiredDescriptionDefault
mapIdYes
publicationIdYes
idempotencyKeyYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
expectedCurrentPublicationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

C2.2/5.0
Behavior1/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, i.e. a mutating, non-idempotent operation, yet the description frames the tool as a 'Preview'. A preview is conventionally read-only, so the description contradicts the supplied annotations and misleads the agent about side effects. The description also omits the concurrency/retry semantics implied by the required expectedCurrentPublicationId and idempotencyKey, which is exactly the behavioral context a mutation tool needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, front-loaded sentence with no filler, which is welcome. However, the brevity is bought at the cost of accuracy: the word 'Preview' occupies the most salient position and puts the whole definition in doubt.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a four-required-parameter mutation with optimistic concurrency and idempotency semantics, no output schema, and no annotation-level explanation of side effects. The description says nothing about what the map's state becomes, what happens on a stale expectedCurrentPublicationId, or whether retries are safe, so an agent lacks what it needs to invoke it correctly.

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

Parameters2/5

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

Schema description coverage is only 20% (only conversation_id is documented), so the description carries most of the burden. It vaguely implies that a publication revision is targeted and that movement can be forward or back, but it never explains publicationId, expectedCurrentPublicationId (an optimistic-concurrency guard), or idempotencyKey, leaving three required parameters semantically opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence names a resource ('a map') and an operation ('rolling ... forward or back to an immutable publication revision'), but the leading verb 'Preview' does not match the tool name/title 'Activate a map publication'. An agent cannot tell whether this performs the roll or merely simulates it, which is the single most important distinction for a non-read-only tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this versus siblings such as map_publication_list (to discover a publication revision) or map_publish. No prerequisites, no exclusions, and no mention of what the agent should do first; the reader must infer everything from the name.

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