Skip to main content
Glama

messages_mark_replied

Record that the lead replied to this message — typically outside the platform (a phone call, a LinkedIn answer). The campaign step becomes REPLIED, the rest of the sequence is cancelled, and the lead becomes INTERESTED / NOT_INTERESTED per intent, or REPLIED (needs a person to read it) when intent is omitted. A lead already marked INTERESTED or NOT_INTERESTED keeps that status; change it with leads_update.

Method: POST /api/v1/workspaces/{workspace_sqid}/messages/{sqid}/mark-replied/

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

Input Schema

NameRequiredDescriptionDefault
sqidYes
intentNoHow the lead responded. Omit when unknown: the lead becomes REPLIED, which asks a person to read it. * `interested` - interested * `not_interested` - not_interested

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that the campaign step becomes REPLIED, the remaining sequence is cancelled, and the lead's status is derived from `intent`. It omits auth/permission requirements and any notion of reversibility or undo, which is a notable gap for a mutation that cancels a sequence.

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 state-transition effects are front-loaded and each sentence adds information; nothing is redundant with the name or title. It is dense — three clauses packed with status terms — but appropriately sized for a state-changing operation, and the trailing method line is useful reference.

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 two-parameter mutation with no annotations and no output schema, the description covers the essential behavior: what it records, what changes downstream, and how `intent` drives lead status. It would be complete with a brief note on required permissions and on what happens when the message is already marked, but nothing critical to correct invocation is missing.

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?

At 50% schema coverage, the `intent` parameter is well explained in both schema and prose, including the important 'omit when unknown' semantics and the downstream effect. The required `sqid` is never described in the text beyond appearing in the method path, so the description only partially compensates for the coverage gap.

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?

The description gives a specific verb and resource ('Record that the lead replied to this message') and immediately clarifies the real-world meaning (reply outside the platform, e.g. a phone call or LinkedIn answer). It also enumerates the resulting state transitions, so an agent can distinguish this from messages_mark_sent or messages_mark_bounced without opening a 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?

It clearly states the triggering condition — a reply that happened outside the platform — and explains the fallback behavior when `intent` is unknown (lead becomes REPLIED, needs a human reader). It also routes the agent to `leads_update` for changing an existing INTERESTED/NOT_INTERESTED status, but gives no explicit exclusion versus sibling tools such as messages_mark_bounced.

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.