Skip to main content
Glama

Set project basemaps

project_set_basemap

Assign light and/or dark basemaps to a project map. expectedSpecVersion is required to prevent stale writes.

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": {
      "projectId": "<projectId>",
      "expectedSpecVersion": "<expectedSpecVersion>",
      "input": "<input>"
    },
    "name": "project_set_basemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
projectIdYes
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.
expectedSpecVersionYes

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

B3.3/5.0
Behavior3/5

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

Annotations already establish a non-read, non-idempotent, non-destructive mutation, and the description usefully adds the optimistic-concurrency rationale for expectedSpecVersion (preventing stale writes), which annotations do not convey. However, it omits key mutation behavior: whether omitting basemapIdDark/basemapIdLight leaves the existing basemap untouched or clears it, and what happens on a version mismatch.

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 short sentences with zero filler; the assignment operation comes first and the required concurrency token is stated immediately after. Nothing could be removed without losing information.

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?

For a nested-object mutation with a concurrency token and no output schema, the description should state whether this is a partial or full replace of basemaps and how a version conflict surfaces to the caller. Neither is addressed, leaving the most consequential behavior for an agent to guess.

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 description coverage is only 25%, and the description compensates for the most opaque parameter by explaining that expectedSpecVersion guards against stale writes, which makes it an optimistic-concurrency token rather than an arbitrary number. The remaining parameters (projectId, input.title, basemapIdDark/basemapIdLight) are already documented in the schema, so little is left ambiguous, though the partial-update meaning of the two basemap IDs is still unclear.

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?

"Assign light and/or dark basemaps to a project map" gives a specific verb (assign) and resource (basemaps on a project map), and the "and/or" clarifies that either or both can be set. It does not distinguish itself from the sibling read tool project_list_basemaps, but the write intent is unambiguous.

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?

The description states a prerequisite (expectedSpecVersion is required) but never says when to choose this tool over alternatives such as project_set_view or the basemap listing tool, nor when not to call it. The stale-write note is the only guidance offered, so usage must largely be inferred from the name and siblings.

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