Skip to main content
Glama

edit_template

Creates a template (name, no template_id) or publishes its next version: ops on base_revision. Ops: mycorr_guide topic templates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "edit_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsNo
nameNo
dry_runNo
template_idNo
base_revisionNo`template.revision` as read; 0 for a new one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-open-world mutation. The description adds creation vs publishing and version-base semantics, but omits dry_run behavior, permissions, side effects of publishing, and any output/return context.

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?

The two sentences are front-loaded and contain no filler. The fragment 'Ops: ...' is terse but does earn its place as a pointer, though it makes the description feel cryptic.

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

Completeness3/5

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

For a five-parameter mutation with no output schema, the definition is only partially complete: it covers the main create/publish split and base revision, but does not address dry_run, ops payload shape, or result/version behavior.

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?

With only base_revision documented in the schema (20% coverage), the description compensates partially by explaining creation via name/no template_id and publishing via ops on base_revision. It still leaves ops array structure and dry_run behavior unexplained beyond a guide pointer.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb and resource: creates a template or publishes its next version, and distinguishes the two modes via `name`/`template_id` and `base_revision`. However, `ops` and “publishes its next version” are jargon-heavy, and it never states how this differs from describe_template beyond mutation.

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

Usage Guidelines3/5

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

It implies mode selection: omit `template_id` with `name` to create, or supply `ops` with `base_revision` to publish. It points to `mycorr_guide` topic `templates` for ops, but gives no explicit when/when-not guidance against sibling tools such as describe_template.

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