Skip to main content
Glama
YouMap MCP Server

YouMap MCP Server

Official
by YouMap-app

update_action

Modify an existing per-map post template by changing its name, emoji, fields, duration, or border color; supply the required version number and optionally auto-publish the revision.

Instructions

Update an existing per-map action (post template). You should always update the newest/latest version of an action. Use get_action_versions to find the latest version number first if needed. NOTE: the three global quick post templates (Note / Photo / Question) are read-only system fixtures and cannot be updated through this API; trying to update them returns 403/404. To prevent quick templates from showing on a particular map, use update_map and set areQuickActionsDisabled: true instead.

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": {
      "actionId": "<actionId>",
      "version": "<version>",
      "fields": "<fields>"
    },
    "name": "update_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name of the action/post template (1-50 characters)
emojiNoNew emoji that represents this action. Use the get_emoji_shortnames tool to find available emoji codes.
fieldsYesDefine the structure and fields for posts created with this action. Only 3 fields can be featured. Only 2 fields can be featured if there is a featured media field. Featured fields should be placed at the first positions on field list
versionYesVersion number to update (should be the latest version). Get this from get_action_versions if needed.
actionIdYesID of the action to update
durationNoHow long posts created with this action remain active
autoPublishNoWhether to automatically publish the updated version (default: false)
borderColorNoNew hex color for the action border (7 characters, e.g., '#FF5733')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavioral facts: updates must target the latest version, and attempting to update system quick templates returns 403/404. It stops short of describing what happens on a stale version conflict, whether the update is reversible, or what the response contains.

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?

Purpose is front-loaded in the first sentence, followed by version guidance and then the important read-only caveat with a workaround. The NOTE is long but each clause earns its place; slight redundancy with the schema on version handling.

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 an 8-parameter mutation tool with deep nested objects and no output schema, the description covers the highest-risk pitfalls (wrong version, immutable system fixtures, the correct alternative). It lacks any statement about the return value or the effect of autoPublish on visibility, which an agent might need.

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 100%, so the nested fields, enums, and defaults are already documented. The description only adds cross-tool guidance for the `version` parameter (use the latest, obtain via get_action_versions), which duplicates the schema's own note; no additional meaning is added for the 7 other parameters.

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 a specific verb plus resource ("Update an existing per-map action (post template)") and immediately distinguishes it from the read-only global quick post templates, which is the main thing an agent could confuse it with given siblings like list_quick_post_templates.

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

Usage Guidelines5/5

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

It gives explicit prerequisites (call get_action_versions to obtain the latest version number first) and explicitly routes the quick-template use case to an alternative tool, `update_map` with `areQuickActionsDisabled: true`. Both when-to-use and when-not-to-use are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.