Skip to main content
Glama

Add template action

add_template_action

Add an action at the end of a project template; projects already made from it do not change. Reorder it with reorder_item list=template_actions.

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": {
      "id": "<id>",
      "title": "<title>"
    },
    "name": "add_template_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTemplate id from `list_items` list=project_templates.
titleYesWhat to do, verb first.
descriptionNoOptional details; null for none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"Optional details; null for none."
    • addedInput schema / properties / id / description
      Added value: +"Template id from `list_items` list=project_templates."
    • addedInput schema / properties / title / description
      Added value: +"What to do, verb first."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, non-open-world mutation. The description adds real value beyond that by disclosing that projects already created from the template are unaffected — an important non-retroactive side effect. It says nothing about permissions, limits, or what the response returns, leaving it a solid but not rich disclosure.

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 clauses, front-loaded with the core action and placement, followed immediately by the reorder hand-off. Every sentence carries actionable information and there is no filler.

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 a simple three-parameter append operation with no output schema, the description covers what it does, where it lands, its effect on existing projects, and the ordering follow-up. Only the return/identifier behavior is left unaddressed, which is 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 coverage is 100% and the schema already explains where the template id comes from (`list_items` list=project_templates) and that description may be null. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 ("Add an action at the end of a project template") plus a precise placement constraint, which separates it from siblings like update_template_action and reorder_item without needing to open their schemas.

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?

Makes clear the insertion point (end of list) and explicitly redirects reordering to `reorder_item` list=template_actions, so the agent knows which sibling handles the follow-up task. It does not explicitly say when to use update_template_action or add_action instead, 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources