Skip to main content
Glama

complete_task

Destructive

Mark an open task done on behalf of the user, with an optional note and an optional sales signal (interested or not_interested), which is only recorded and does not stop a campaign. Completing never sends the task's own message, whether or not completedOutsideFuse is set. On a campaign step task it closes that step and moves the contact on to the next campaign step, which Fuse then writes (AI-written steps cost credits) and, if that step is automatic and the campaign is active, sends it to the contact as an email or LinkedIn action from the campaign's connected mailbox or LinkedIn account. Set completedOutsideFuse true when the user already did that campaign step outside Fuse: it records the step as done outside Fuse and keeps an email or LinkedIn step out of send analytics (other tasks ignore it), but does not stop the next step from being written or sent. Group rows such as a sequence step batch, call batches and AI-reply reviews cannot be completed here.

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": {
      "taskId": "<taskId>"
    },
    "name": "complete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional completion note.
taskIdYesThe task id (24-character Mongo id) from list_tasks.
outcomeNoOptional sales signal recorded with the completion.
completedOutsideFuseNotrue when a send step was already done outside Fuse: closes it without sending anything and keeps it out of analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say destructive/openWorld/not-readOnly; the description goes far beyond by disclosing that completing never sends the task's own message, that a campaign step task closes the step and advances the contact, that the next AI-written step costs credits, that an automatic step may actually be sent as email/LinkedIn, and that completedOutsideFuse keeps a step out of send analytics. These are the side effects an agent most needs to know before invoking a destructive mutation.

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?

Front-loaded with the core action and then layers consequences in logical order, with no filler sentences. The middle sentence is a long run-on chain of clauses (credits, automatic steps, mailbox/LinkedIn source) that takes effort to parse, which keeps it from a 5.

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

Completeness5/5

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

For a destructive, open-world mutation with no output schema, the description covers side effects, cost implications, analytics effects, and what cannot be completed. The main remaining unknown is the response payload, which an agent can discover on invocation without risk of misuse.

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 100% and each parameter is already documented, so the baseline is met; the description nonetheless adds non-obvious semantics — that outcome ('interested'/'not_interested') is recorded only and does not halt a campaign, and that completedOutsideFuse is ignored by non-campaign tasks and only affects analytics/sending. It does not restate note or taskId, which the schema already covers.

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?

Opens with a specific verb+resource ('Mark an open task done on behalf of the user') and then distinguishes the tool's behavior from sibling task tools by naming list_tasks as the source of the id and by spelling out the campaign-step side effects. An agent can tell exactly what this does without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-set guidance ('Set completedOutsideFuse true when the user already did that campaign step outside Fuse') and explicit exclusions ('Group rows such as a sequence step batch, call batches and AI-reply reviews cannot be completed here'). It also clarifies that outcome is a record-only signal that does not stop a campaign, which prevents misuse.

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.