Skip to main content
Glama

Publish a map

publish_map

Make one of the user's maps public at its /map// link, where anyone can view it. The user must first choose a username at https://www.movingpolygons.com/settings; until then this fails and says so.

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>"
    },
    "name": "publish_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
mapIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, open-world, non-destructive mutation, and the description adds real context beyond them: the result is a publicly viewable link, and the operation fails with an explanatory error until a username exists. It doesn't cover idempotency (what happens if already published) or the inverse operation.

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 sentences, zero waste: the visibility consequence is front-loaded and the prerequisite follows. Nothing is repeated from the annotations or schema.

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 mutation with no output schema, the description covers the side effect, the public exposure, the prerequisite, and the failure mode. The only meaningful gap is what happens on repeat calls or how to undo it — unpublish_map is not referenced.

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 description coverage is 0% for the single mapId parameter, so the description would ideally say how to obtain a mapId (e.g. from list_maps or search_maps). The parameter name is largely self-explanatory, making the omission minor, but no added meaning is supplied.

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?

States a specific verb and resource ('Make one of the user's maps public') and even names the resulting URL shape, so the effect is unambiguous. It does not explicitly differentiate itself from the sibling unpublish_map, which is left to inference from the name.

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

Usage Guidelines4/5

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

Gives a concrete precondition — the user must first set a username at the settings URL, otherwise the call fails — which is exactly the kind of when-this-works guidance an agent needs. It stops short of stating when to prefer this over sibling tools such as get_public_map or unpublish_map.

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