Skip to main content
Glama

Salvar template de prospecção

save_outreach_template
DestructiveIdempotent

Create or update one outreach template for the authenticated user. Without templateId the template is saved by name (an existing template with the same name is overwritten with the new values instead of duplicated). With templateId the named template is patched, which is the only way to rename it; the fields passed replace the saved ones and omitted fields keep their current value. An overwritten value cannot be recovered. Nothing is sent.

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

Input Schema

NameRequiredDescriptionDefault
nameNoTemplate name. Required when templateId is omitted.
toneNoDesired tone, e.g. "direto e consultivo".
languageNoLanguage to write in. Defaults to "Português (Brasil)".
offeringNoWhat the sender offers, in the sender's own words. Required when templateId is omitted.
senderNameNo
templateIdNoExact template UUID to patch.
campaignNameNoDefault campaign name suggested when this template is used.
businessContextNoCompany/product context (plain text or markdown) used to ground every generated message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / templateId / description
      Previous value: -"Exact template UUID to patch, from list_outreach_templates."New value: +"Exact template UUID to patch."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description goes well beyond them: same-name saves silently overwrite rather than duplicate, patching is a field-level merge where omitted fields are preserved, and overwritten values are unrecoverable. "Nothing is sent" also preempts a plausible false assumption that saving a template triggers outreach.

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?

Four sentences, each carrying a distinct decision-relevant fact, with the create/update split front-loaded before the overwrite and merge semantics. The trailing "Nothing is sent" is short and removes a costly misunderstanding, so it earns its place.

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 destructive mutation with no output schema, the description covers mode selection, overwrite risk, and merge behavior. The remaining gap is the return value (whether the saved template or its UUID comes back), which matters for chaining into a later patch call.

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

Parameters4/5

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

Schema coverage is 88%, so the baseline is 3; the description adds real semantic value by explaining that a name-keyed save replaces the stored record and that a templateId patch replaces only the passed fields. It does not restate per-field meanings, which is appropriate given the schema already documents them.

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 or update one outreach template") and immediately disambiguates the two modes via templateId presence. An agent can tell this apart from delete_outreach_template and list_outreach_templates without opening any schema.

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?

Explicitly states the two usage modes: omit templateId to upsert by name, pass templateId to patch (and notes patching is the only path to rename). It gives clear context but never routes the agent to siblings, e.g. that list_outreach_templates is how you obtain the UUID needed for the patch mode.

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.