Skip to main content
Glama

Read the account's Instagram conversations

list_messages
Read-only

Use this when the person asks about their Instagram direct messages (DMs). Reads the connected Instagram account's recent direct conversations, newest first: who the other person is, the last message and who wrote it, and, when they wrote last, until when Instagram lets the account answer (24 hours after their message). Set waitingOnly to see only the conversations that wait for an answer. Needs the account connected with direct messages in Hub. Requires posts:read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 15.
accountNo
waitingOnlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the result shape (counterpart identity, last message and its author, the 24-hour reply window), the sort order, the Hub connection prerequisite, and the required posts:read scope. Annotations already cover the read-only/safe profile; the remaining gap is pagination behavior, which the limit cap only hints at.

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 usage trigger, then the return contract, then the parameter hint and prerequisites. Dense but every clause carries information; only the awkward 'and, when they wrote last, until when Instagram lets the account answer' phrasing costs clarity.

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 three optional params and no output schema, the description supplies the return-value contract, sort order, auth scope, and connection prerequisite that structured fields lack. The undocumented 'account' parameter is the one notable hole.

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 33%, so the description must compensate. It does for waitingOnly, spelling out the exact filtering semantics, but 'account' is never explained (what identifier form, what happens if omitted) and limit is left entirely to the schema's 'Default 15.'

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: 'Reads the connected Instagram account's recent direct conversations, newest first,' with the returned fields enumerated. It is clearly distinguishable from list_posts or reply_to_message in practice, though it never names a sibling tool to route against.

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?

Opens with an explicit trigger condition ('Use this when the person asks about their Instagram direct messages') and gives a conditional usage rule for waitingOnly. It stops short of stating when NOT to use it or which sibling to pick for composing a reply.

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.