Skip to main content
Glama

Update the map itself

update_map

Change the map, not its items: title (and accentWord), subtitle, axes, corners, tiers, rows and cols (grids), footer, author, accent color and size, and on geo maps region, theme, kicker, tag, legend and flags. Only the fields you send change. Tiers, rows and columns are renamed by position and keep their items; a removed one sends its items to the tray. Use it to make a template your own after create_from_preset.

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

Input Schema

NameRequiredDescriptionDefault
tagNoGeo maps: the default card pill.
axesNoQuadrant axis labels; send only the ones to change.
colsNoGrid maps: every column label, left to right.
rowsNoGrid maps: every row label, top to bottom.
sizeNoCanvas shape: portrait 4:5, square 1:1, wide 16:9.
flagsNoGeo maps: show flags on the cards.
mapIdYesThe map id from create_map.
paintNoGeo maps with steps: click paints the picked step instead of asking.
stepsNoGeo maps: change or turn on the rate scale (false turns it off and clears the colors), a labeled color scale such as Never to Absolutely. "live" (Never, Probably not, Maybe, Yes, Absolutely), "been" (Never been to Lived there), "visit" (No interest to Top of my list), "tier" (F to S), or your own list of 2 to 10 labels or {label, color} (lowest first; colors are hex). With steps, a level is a step number (0 is the first step) or a step label, and the legend lists the labels. Use it for "where I'd live", "states I've been to", a tier list of countries, or a categorical choropleth.
themeNoGeo maps: light or dark.
tiersNoTier lists: every tier name, top to bottom, for example ["Must have", "Nice", "Skip"].
titleNoNew headline.
tokenYesThe editToken from create_map. Required for every change.
accentNoAccent color as hex, for example "#E8590C".
authorNoAuthor block in the footer.
countsNoGeo maps with steps: counts in the legend.
footerNoFooter line, for example "Send this to your team".
kickerNoGeo maps: small mono line above the title.
legendNoGeo maps: legend label and end labels.
regionNoGeo maps: the region, same values as create_map.
cornersNoQuadrant corner captions; send only the ones to change.
subtitleNoOne line under the title; "" removes it.
accentWordNoA word or phrase from the title to color with the accent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say non-readonly/non-destructive; the description adds the real behavioral contract: partial-update semantics ("Only the fields you send change"), positional renaming that preserves items, and the consequence of removing a tier/row/column (items move to the tray). That last point is genuinely useful and consistent with destructiveHint=false. It does not mention validation failures or what the response looks like, keeping it below a 5.

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?

Front-loaded with the scope distinction and the field inventory, then the behavioral rules. It is dense and long for a description, but nearly every clause carries information; the parenthetical field qualifiers (grids, geo maps) are the only mildly noisy bits.

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 23-parameter partial-update tool with no output schema and thin annotations, the description covers the essentials: what changes, that unsent fields are preserved, item-preservation on rename/removal, and the token requirement (via schema). It omits return/confirmation behavior and error cases, which is a minor gap rather than a blocking one.

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 coverage is 100%, so the baseline is 3; the description earns above that by adding semantics the schema lacks, notably that tiers/rows/cols are renamed by position rather than replaced wholesale, and by grouping fields by map type (grids, geo, quadrant). It does not cover the steps/paint/counts parameters, which the schema handles on its own.

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?

Opens with a specific verb+resource and an explicit scope boundary: "Change the map, not its items." It then enumerates the mutable field families (title, subtitle, axes, corners, tiers, rows/cols, footer, author, accent, size, plus geo-only fields), so an agent can distinguish this from update_items without opening either schema.

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 entry point: "Use it to make a template your own after create_from_preset," and the opening clause implicitly excludes item editing, routing that to a sibling. It does not name update_items explicitly or state when-not to use this tool, so it stops just short of full routing guidance.

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