Skip to main content
Glama

Add items to a map

add_items

Add up to 150 items in one call (300 per map, 300 logos found by domain and 80 uploaded or fetched images per map). For each item give a logo source: domain (the server finds the site's logo), imageUrl, imageBase64, or imageQuery (a license-safe picture search, for things with no website such as characters or places). The server downloads and stores logos itself, so exports never break. Items without x/y (quadrant), tier (tier list), row and col (grid) or country, subdivision, city or lat/lon (geo) land in the tray for the person to place. Geo maps: one note per country, for example {country: "FR", title: "France", body: "Oui, bien sûr. Then silence."}; a logo pin on a city: {city: "Berlin", kind: "pin", domain: "n26.com"}; the page lays the cards out around the map. Clusters maps (style "clusters"): one item per tool, {country: "FR", domain: "mistral.ai", name: "Mistral"}; they are grouped by country into the cards. Returns the new item ids.

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": "add_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

A4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, open-world write, and the description adds real behavior on top: the server downloads and stores logos itself so exports never break, per-map caps (300 items, 300 domain logos, 80 images), and that new item ids are returned. It does not restate the token/permission requirement or discuss failure handling when a domain or image lookup misses, which keeps it off 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?

Structure is strong: limits first, then logo-source selection, then the tray rule, then per-map-style examples. Every clause carries information, though a few lines duplicate schema field text and the run-on parenthetical quota list at the top is dense to parse.

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

Completeness5/5

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

For a three-parameter tool whose items array spans dozens of map-specific fields, the description covers quotas, logo sourcing, tray fallback, worked payload examples for geo/clusters, and the return value ('the new item ids'), which compensates for the absent output schema. An agent can construct a correct call for most map styles from this alone.

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 per-field descriptions are already extremely detailed, so the description's main added value is composition-level examples ({country: 'FR', title: 'France', body: '...'}, the pin example, the clusters shape) that show how fields combine for specific map styles. Elsewhere it largely paraphrases the schema (tray, x/y, tier, row/col, country), so it adds moderate rather than decisive meaning beyond structured data.

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 opening sentence gives a specific verb and resource plus a hard scope ('Add up to 150 items in one call') and enumerates the per-map quotas, so an agent knows exactly what operation this is. It stops short of naming siblings such as update_items or remove_items, so the add-vs-modify distinction is inferred from the verb alone 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 Guidelines4/5

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

There is clear conditional guidance: pick domain vs imageUrl vs imageBase64 vs imageQuery, with an explicit rule ('Use domain for companies and brands') and a fallback for things with no website. It also explains when items fall into the tray versus land on the chart per map type. It does not address when to call this instead of update_items, nor prerequisites like needing a mapId/token from create_map, which is left to the schema.

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