Skip to main content
Glama

List automations

list_automations
Read-only

The user's Instagram automations (keyword -> DM with a link), newest first, in short: id, account_id, keyword and extra_keywords, trigger (see create_automation), the post it answers (null while it waits for the next post), status (active, waiting: armed for the next post, paused, or draft: never on or stopped by a problem), activated_at, its link (page_id or custom_link, extra_link_buttons), the gates it has on (follow, email, reminder, public_reply) and links_sent: link DMs over 13 months, per comment, not per person. More after next_cursor: follow it to the end before ranking them or saying none answers a post. With automation_id, that one in full, to read or reword its messages. get_automation_activity tells who got which DM.

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_automations"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNonext_cursor from a previous call
automation_idNoOne automation in full: its messages, labels and replies

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / automation_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "One automation in full: its messages, labels and replies",
      +  "title": "Automation Id"
      +}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "next_cursor from a previous call",
      +  "title": "Cursor"
      +}
    • addedOutput schema / additionalProperties
      Added value: +true
    • removedOutput schema / properties
      Removed value: -{
      -  "result": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "title": "Result",
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "result"
      -]
    • changedOutput schema / title
      Previous value: -"list_automationsOutput"New value: +"list_automationsDictOutput"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/destructive/openWorld annotations, it discloses pagination behavior (cursor continuation), the meaning of each `status` value including edge cases like "waiting: armed for the next post" and "draft: never on or stopped by a problem," and the non-obvious scope of `links_sent` (13 months, per comment, not per person). It also flags that `post` is null while awaiting the next post, which prevents a misread as missing data.

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-loads the resource and ordering, then layers field semantics and finally pagination caveats. It is dense and slightly list-heavy, and because an output schema exists the field enumeration is partly redundant, but nearly every clause carries decision-relevant information.

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

Completeness5/5

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

For a two-parameter, zero-required, read-only listing tool with an output schema, this covers everything an agent needs: what comes back, how to interpret status and link counts, and how to traverse pagination. Return-value documentation is correctly omitted since the output schema handles it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description still adds value by framing `cursor` as "More after `next_cursor`" with the obligation to exhaust it, and by tying `automation_id` to the read-or-reword use case. The additions are meaningful but thin relative to what the schema already states.

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?

Opens with a specific resource and shape: "The user's Instagram automations (keyword -> DM with a link), newest first." It also explicitly carves out the sibling boundary by noting that get_automation_activity "tells who got which DM," so an agent can distinguish listing configurations from listing delivery events.

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?

Strong operational guidance: "follow it to the end before ranking them or saying none answers a post" tells the agent it must paginate fully before drawing conclusions, and "With `automation_id`, that one in full, to read or reword its messages" scopes the single-item mode. It stops short of naming a full when-not-to-use case, but the alternative routing to get_automation_activity is explicit.

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.