Skip to main content
Glama

Update Marketing Activity

update_marketing_activity
Destructive

Edit a marketing activity by marketing_id (from list_marketing_activities): its name, date, frequency, or target group. Partial — only the fields you pass change. Enforces participation. Cannot delete anything.

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": {
      "marketing_id": "<marketing_id>"
    },
    "name": "update_marketing_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
typeNoThe blast/activity name.
frequencyNo
marketing_idYesThe mailerid to edit (from list_marketing_activities).
target_groupNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=false, so the safety profile is largely covered; the description still adds valuable semantics by stating the update is partial (only supplied fields change) and that nothing is deleted. The caveat is "Enforces participation," which is unexplained jargon, and "Cannot delete anything" sits in mild tension with destructiveHint=true, since field overwrites are themselves destructive.

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?

Two short sentences with the key scoping information front-loaded and zero filler. The fragment "Enforces participation." is a wasted sentence because it conveys no actionable meaning to an agent.

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 5-parameter partial-update tool with no output schema, the definition covers the essentials: ID provenance, which fields are editable, partial-update semantics, and the no-delete boundary. The unexplained "Enforces participation" clause is the main incompleteness, since an agent cannot tell whether it implies validation failures or extra required data.

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 only 40%, so the description must carry weight, and it does: it mentions all five inputs including the marketing_id provenance. Its one weak point is referring to the field as "name" while the schema calls it "type" (described as the blast/activity name), which could momentarily confuse an agent, and it adds no format constraints beyond the schema.

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?

"Edit a marketing activity by marketing_id" is a specific verb plus resource, and the enumerated editable fields (name, date, frequency, target group) pin down the scope precisely. It also distinguishes itself from siblings by naming list_marketing_activities as the source of the ID and stating "Cannot delete anything."

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 operational context: the ID comes from list_marketing_activities, and the update is partial so only passed fields change. The negative case is only partly covered — it excludes deletion but does not explicitly route to create_marketing_activity for new activities or explain what happens on an invalid ID, though the shape of the tool makes those obvious.

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