Skip to main content
Glama

List posts for comment DMs

list_comment_dm_posts
Read-only

Lists the connected Instagram account's 30 most recent posts, for post_ids (chosen posts) on a comment DM rule. Read live from Instagram.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "list_comment_dm_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYesWorkspace with the Instagram connection. Required. Get one from list_workspaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so 'Read live from Instagram' largely restates the open-world hint. The one genuinely additive disclosure is the hard cap of 30 most recent posts, which tells the agent the result set is bounded and truncated to recency; nothing is said about behavior when the Instagram connection is missing or what the post objects contain.

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?

Two short sentences, front-loaded with the resource and scope, with no padding or marketing language. The parenthetical '(chosen posts)' adds little and the phrase order around 'for post_ids ... on a comment DM rule' makes the second sentence harder to parse than its length warrants.

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

Completeness3/5

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

For a simple one-parameter read tool whose annotations already cover the safety profile, the definition is largely sufficient to call it correctly. The gap is that with no output schema, the description should say something about what a returned post looks like (id, caption, media type, timestamp) since the agent needs an id to populate a comment DM rule.

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?

With a single parameter at 100% schema description coverage, the schema already explains workspace_id and even points to list_workspaces as the source. The description adds no additional meaning about the parameter; conversely, it introduces the term 'post_ids' which is not an input at all, which could momentarily mislead an agent scanning for a filtering parameter.

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?

States a specific verb and resource ('Lists the connected Instagram account's 30 most recent posts') and scopes it to the comment DM rule context, which separates it from generic post listings like list_scheduled_posts. The trailing clause 'for post_ids (chosen posts) on a comment DM rule' is grammatically muddy, leaving slight doubt about whether post_ids is an input or the purpose of the list.

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

Usage Guidelines3/5

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

Usage is implied by context: this is the lookup you perform to choose posts for a comment DM rule, which an agent can infer from the mention of post_ids and the comment DM rule. However, there is no explicit when-to-use statement, no when-not, and no named alternative among the many sibling list_* tools, so the routing guidance is only implicit.

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.