Skip to main content
Glama

Update items

update_items

Change items by id: label, sub, group, logo (domain, imageUrl or imageBase64), position (x, y), tier, row and col, or on geo maps title, tag, body, note, country, subdivision, city, lat and lon, level, kind and marker. Only the fields you send change.

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

Input Schema

NameRequiredDescriptionDefault
itemsYes
mapIdYesThe map id from create_map.
tokenYesThe editToken from create_map. Required for every change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already disclose that this is a non-read-only, non-destructive, open-world operation. The description adds useful partial-update semantics with 'Only the fields you send change', but it does not explain item-not-found behavior, token/auth requirements, batch limits, or external image/logo-fetch side effects.

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 core action and patch semantics are front-loaded in a single sentence with no redundant prose. The long comma-separated field inventory is dense and not exhaustive, but overall the definition is appropriately compact for a tool with a very large 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?

The nested schema is rich enough to carry most field-level detail, and the description supplies the essential mental model: update existing items by id and only send fields that should change. The main omissions are guidance on token prerequisites and failure behavior, which the schema largely covers.

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 coverage is 67%, and the description says nothing about the required mapId or token parameters; it only addresses the items payload by listing many nested fields. It adds some map-specific grouping, but it omits many schema fields and does not compensate for the remaining coverage gap.

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 opens with 'Change items by id', which states a specific verb and resource, and it enumerates the main updateable field families. That clearly separates it from add_items, remove_items, and update_map without requiring the schema to be opened.

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 phrase 'by id' implies this is for existing items, but the description never explicitly says when to use update_items rather than add_items, remove_items, or update_map. It also does not mention prerequisites such as the edit token, leaving alternatives and conditions to inference.

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