Skip to main content
Glama

campaigns_action_mark_done

Completes a manual step once the person has done it, or an API step whose work was done outside Sellvance (e.g. the external system was down). Optional context is written to the lead first — the values the API would have returned, like {"promo_end": "2026-11-30"} — coerced to each context field's type, so later emails that use them still render. Moves the lead to 35 (Step Done); it then continues with the next step on the normal delay. Works on a failed (15) or pending (0) step, and on an email step rerouted to a LinkedIn / call task (16, kind=rerouted in action_items_list) once you reached the lead that way.

Method: POST /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/logs/{log_sqid}/mark-done/

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": {
      "log_sqid": "<log_sqid>",
      "sqid": "<sqid>"
    },
    "name": "campaigns_action_mark_done"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
sqidYes
contextNo{context field: value}
log_sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden and does add real value: context is written to the lead before the state change, values are coerced to each field's type so later emails render, the lead moves to stage 35 and then resumes the next step on the normal delay. It does not cover permissions/auth, idempotency (what happens if called twice), or failure behavior if coercion or the write fails.

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 the two motivating scenarios, then layers on state codes and the context-write semantics. Dense but nearly every sentence adds operational meaning; the trailing method/path line is boilerplate but short.

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?

No output schema and no annotations, yet the description discloses the state transition, the post-completion scheduling behavior, the accepted input states, and the context-coercion rule — the essentials for calling it correctly. Remaining gaps are the meaning of `note`, error/response behavior, and idempotency.

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?

Schema coverage is only 25%, but the description substantially compensates for the one non-obvious parameter, explaining that `context` holds the values the API would have returned and is coerced per field type, with a concrete example. `note`, `sqid`, and `log_sqid` are not described beyond appearing in the method path, so the compensation is partial.

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 (completes/marks done) plus the exact resources it applies to: a manual step already performed by the person, or an API step executed outside Sellvance. It also enumerates the step states it operates on (failed 15, pending 0, rerouted 16), which effectively distinguishes it from the retry/skip siblings without naming them.

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?

Gives clear when-to-use conditions: after the person has done a manual step, or when the external system was down and the API step's work was performed elsewhere. It also constrains applicability to failed/pending/rerouted steps. It stops short of explicitly contrasting with campaigns_action_skip or campaigns_action_retry, so the agent must infer when those are preferred.

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.