Skip to main content
Glama

Like DM messages

apply_message_actions
Destructive

Likes DMs as the brand (a heart), or removes it (unlike). Instagram DMs from the contact only; others are skipped with the reason. Up to 20 ids, one at a time; more than one needs a confirmation. Liking the newest message can mark the conversation done. May first return a confirmation summary and token instead of acting.

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": {
      "brand": "<brand>",
      "ids": "<ids>",
      "action": "<action>"
    },
    "name": "apply_message_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesMessage ids from list_messages.
brandYes
actionYes
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing external side effects the flags only imply: the reaction is posted as the brand, liking the newest message can mark the conversation done, non-contact DMs are silently skipped with a reason, and the call may return a confirmation summary and token instead of acting. That confirmation round-trip is exactly the kind of behavior an agent cannot infer from destructiveHint/openWorldHint alone.

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 short sentences, front-loaded with the action and its polarity, then constraints, then side effects, then the confirmation caveat. No filler and no restatement of the title or schema.

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?

With no output schema and sparse parameter documentation, the description carries most of the load and does so well: it explains the confirmation-token return path, eligibility filtering, and a consequential side effect on conversation state. The only real omission is the meaning/constraints of the 'brand' parameter.

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% (only ids is documented), so the description must compensate; it usefully clarifies the 20-id ceiling and the purpose of confirmationToken, but leaves 'brand' and the semantics of the like/unlike enum unelaborated. It adds real value on two parameters but does not close 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 opening clause names both the verb and the resource precisely: 'Likes DMs as the brand (a heart), or removes it (unlike).' It also scopes the resource to 'Instagram DMs from the contact only', which distinguishes it from the sibling comment/conversation action tools without needing to name 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 concrete operating conditions: only DMs from the contact are eligible, others are skipped with a reason; up to 20 ids with 'more than one needs a confirmation'. It does not explicitly say when to prefer this over apply_conversation_actions or apply_comment_actions, so it stops short of full alternative routing.

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