Skip to main content
Glama

nitro_manage_template

Destructive

Create/edit email templates. Guided: generate with authoring.kind=guided, goal and idempotency_key. Intent shows layout options. Finished: draft with authoring.kind=template, blocks or html. Edits require template_id and if_version.

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": "nitro_manage_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
goalNo
nameNo
factsNoLiteral evidence: required values must appear; available values may be used.
themeNologo_url uses a public URL or media_url, never signed_id.
dry_runNo
subjectNo
based_onNo
reply_toNo
sectionsNoBlocks from nitro://schema. Images use public URLs or media_url, never signed_id.
authoringNo
from_nameNo
layout_idNoPin a guided layout or choose one from intent.
preheaderNo
draft_metaNoOptional; never blocks.
from_emailNo
if_versionNo
contract_idNo
renegotiateNo
source_textNoUntrusted source evidence; put authoring directions in user_instruction.
template_idNo
validate_onlyNo
content_formatNo
idempotency_keyNoRequired for non-dry-run persistence; exact retry only.
plain_text_modeNo
section_updatesNoTargeted section edits; never changes order or type.
composition_modeNo
user_instructionNo
brand_context_refNo
creative_route_idNo
expected_brand_sidNo
design_mode_overrideNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / expected_brand_sid
      Added value: +{
      +  "type": "string"
      +}
  2. Changed12 schema fields changed
    • addedInput schema / properties / authoring
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "enum": [
      +        "guided",
      +        "template",
      +        "blocks",
      +        "html"
      +      ],
      +      "type": "string"
      +    },
      +    "layout_id": {
      +      "type": "string"
      +    },
      +    "preheader": {
      +      "type": "string"
      +    },
      +    "sections": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "additionalProperties": false,
      +      "description": "Exactly one of html or file_id.",
      +      "properties": {
      +        "file_id": {
      +          "type": "string"
      +        },
      +        "html": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "subject": {
      +      "type": "string"
      +    },
      +    "template_id": {
      +      "type": "integer"
      +    },
      +    "template_version": {
      +      "type": "integer"
      +    },
      +    "values": {
      +      "description": "Values keyed by the chosen layout's slot IDs.",
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "kind"
      +  ],
      +  "type": "object"
      +}
    • removedInput schema / properties / body / description
      Removed value: -"Author text (plain) or custom text alternative (designed)."
    • removedInput schema / properties / composition_mode / description
      Removed value: -"intent plans; validate checks; draft persists; generate composes and persists."
    • removedInput schema / properties / content_format / description
      Removed value: -"Match source."
    • changedInput schema / properties / content_format / enum
      Previous value: -[
      -  "designed",
      -  "plain"
      -]New value: +[
      +  "designed",
      +  "plain",
      +  "html"
      +]
    • removedInput schema / properties / creative_route_id / description
      Removed value: -"Intent-only route id."
    • changedInput schema / properties / draft_meta / description
      Previous value: -"Optional authoring provenance; never blocks."New value: +"Optional; never blocks."
    • removedInput schema / properties / if_version / description
      Removed value: -"Version token for conflict-safe writes."
    • addedInput schema / properties / layout_id
      Added value: +{
      +  "description": "Pin a guided layout or choose one from intent.",
      +  "type": "string"
      +}
    • removedInput schema / properties / plain_text_mode / description
      Removed value: -"Text provenance."
    • changedInput schema / properties / sections / description
      Previous value: -"Email sections; use nitro://schema only for full authoring. Images use public or nitro_ingest media_url/image_url, never signed_id."New value: +"Blocks from nitro://schema. Images use public URLs or media_url, never signed_id."
    • changedInput schema / properties / theme / description
      Previous value: -"Brand-theme overrides; logo_url uses public or nitro_ingest media_url/image_url, never signed_id."New value: +"logo_url uses a public URL or media_url, never signed_id."
  3. Changed4 schema fields changed
    • changedInput schema / properties / creative_route_id / description
      Previous value: -"Intent-only route id; unavailable or invalid routes fail explicitly."New value: +"Intent-only route id."
    • changedInput schema / properties / draft_meta / description
      Previous value: -"Optional authoring provenance; never blocks validation or persistence."New value: +"Optional authoring provenance; never blocks."
    • changedInput schema / properties / sections / description
      Previous value: -"Email sections. Follow next_call for composition; use nitro://schema only for full authoring. Images use public or nitro_ingest media_url/image_url, never signed_id."New value: +"Email sections; use nitro://schema only for full authoring. Images use public or nitro_ingest media_url/image_url, never signed_id."
    • removedInput schema / properties / validate_only / description
      Removed value: -"Alias for validate; never persists."
  4. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this can mutate state. The description adds useful behavioral constraints around idempotency_key for guided generation and template_id/if_version for edits. However, it does not explain dry_run, validate_only, permissions, or other consequences beyond those annotations.

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 description is short and front-loads the core action immediately. The remaining sentences are dense and telegraphic, especially 'Intent shows layout options' and 'Finished:', but they are not padded. It is concise at some cost to readability.

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?

This is a complex, destructive 32-parameter template tool with nested objects and no output schema. The description covers only high-level workflow paths and a couple of constraints, leaving most parameters, return behavior, and safety details unaddressed. It is therefore incomplete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% across 32 parameters, so the description must carry substantial explanatory weight. It clarifies a few key parameters such as authoring.kind, goal, idempotency_key, template_id, and if_version, but leaves most parameters and nested modes unexplained. This is insufficient compensation for such a large schema.

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?

The description states a specific verb and resource: 'Create/edit email templates.' It also identifies guided generation and finished-template drafting, so the core purpose is clear. It does not explicitly distinguish this tool from sibling composition or campaign tools, which keeps it below a 5.

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?

It gives clear mode-selection context: guided generation uses authoring.kind=guided with goal and idempotency_key, while finished drafts use authoring.kind=template, blocks, or html. It also states that edits require template_id and if_version. It lacks explicit when-not-to-use guidance or named alternatives, so it is not a 5.

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.