Skip to main content
Glama
YouMap MCP Server

YouMap MCP Server

Official
by YouMap-app

create_action

Create a per-map post template that defines which fields and content types its posts can contain, including text, media, date, rating, select, and slider fields.

Instructions

Create a new per-map action (post template) that defines the structure for posts. Actions serve as blueprints that specify what fields and content types posts can contain. NOTE: this only creates regular per-map templates — the three global quick post templates (Note / Photo / Question) are system fixtures and cannot be created, edited, or deleted through this API; use list_quick_post_templates to retrieve them.

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": {
      "name": "<name>",
      "mapId": "<mapId>"
    },
    "name": "create_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the action/post template (1-50 characters)
emojiNoEmoji that represents this action (default: ':speech_balloon:'). Use the get_emoji_shortnames tool to find available emoji codes. Pass the emoji in shortcode format, e.g., ':tree:', ':camera:', ':fork_and_knife:'. Do not send the actual emoji character, just the shortcode string that you get from the tool.:speech_balloon:
mapIdYesID of the map this action belongs to
orderNoDisplay order among other actions on the map
fieldsNoDefine 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
durationNoHow long posts created with this action remain active (default: 'Forever')Forever
borderColorNoHex color for the action border (7 characters, e.g., '#FF5733'). borderColor must be one of the following values: #7530F6, #8337EC, #E43AFF, #A86EFF, #87A2FB, #64DFDF, #FF006E, #FF63C1, #FF7D00, #FFAB00, #FFCB00, #C0E218, #00D880, #8DCCFC, #4EA6FD, #802AFF, #3E7C17, #29B23F, #1B939F, #342EAD, #8A9297, #4C5F68, #232932

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden: it discloses that this is a creation/mutation and that quick post templates are immutable system fixtures, which is useful scope context. However, it says nothing about required permissions, whether the created action is returned in the response, or any rate/side-effect behavior, leaving notable gaps for an unannotated write tool.

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-loads the action verb and resource, then adds defining context, then a clearly marked NOTE for the exclusion — a logical, easy-to-scan order. The middle sentence about blueprints is mildly redundant with the opening line but still aids understanding.

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?

Adequate for a 7-parameter nested creation tool: purpose, scope boundaries, and the key sibling alternative are covered, with the heavy lifting on field structure handled by the schema. It leaves out return-value and permission expectations, but with no output schema and rich input documentation those are minor.

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% and the nested field schemas are extremely detailed (featured limits, emoji shortcode format, color palette, duration semantics). The description adds only conceptual framing of the fields object rather than parameter-level detail, so the baseline 3 is appropriate.

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?

States a specific verb and resource ("Create a new per-map action (post template)") and immediately defines what an action is, so an agent knows it is creating a post blueprint rather than a post itself. It also explicitly distinguishes this from the three global quick post templates, separating it from create_post and the quick-template siblings.

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 clear when-to-use context (regular per-map templates) and an explicit exclusion for the system quick post templates, routing retrieval to list_quick_post_templates. It does not discuss update_action or delete_action as alternatives for later lifecycle steps, so it stops short of full when/when-not coverage.

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