Skip to main content
Glama

List the organization's automations

list_automations
Read-onlyIdempotent

The rules the organization programmed its shipments with, in the order they run: "when the shipment changes, if the produce is only avocados and the supplier is X, set the warehouse to Y" or "add the label Z". Each has a name, a trigger (updated, arrived or in_warehouse; manual for a packing_line rule, which never runs by itself, only when an admin confirms "Run now"; or a moment or an event: before_arrival, after_departure, stuck_at_port, before_free_time_ends, tracking_silent, eta_moved, check_failed, document_arrived, which only actions done once run on, their settings being in trigger_parameters: days, direction, check_type, document_type), the subject it acts on (shipment, or packing_line for a rule that acts on each pallet line of a shipment), its conditions (all must hold; the values of one condition are alternatives; only means every packing line fits, includes that some line does; on a packing_line subject a line condition is about that one line), its actions (one to five, at most one of each kind, setters before one-shots; each has a key, a kind and parameters: the key is set_warehouse, add_label, notify, create_share_link or preallocate, which sets the free boxes of a line aside for the allocatee in its parameters; ids for the warehouse or label, which get_warehouse and list_labels name; notify tells members of the organization once per shipment (once per event on a moment or event trigger), its parameters the role (admins or members), the member_count of chosen members and an optional message, never their names; create_share_link makes a customer tracking link once per shipment, with a customer_reference and an optional label), whether it is paused, and its position: for set_warehouse the first matching automation that sets it wins, by position, even when that automation is not the one doing its other actions, and a warehouse a person picked is never overruled. A shipment's warehouse.automation says which automation chose its warehouse, a pre-allocation's automation which one made it, and a share link's automation which one made that link. Use it for "why is this container going to Hamburg" or "which rules do we have". Archived ones only with include_archived. This tool only reads: automations are edited in the web app, by an admin.

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
include_archivedNoAlso list archived automations. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's value is in adding semantics it does not repeat: results are ordered by run position, archived records are excluded by default, and a human-chosen warehouse is never overruled by a set_warehouse automation. That last fact is genuinely important for interpreting results. It spends most of its length on the data model rather than on tool behavior, which dilutes the behavioral payoff.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The body is a single run-on sentence of several hundred words with nested parentheticals and back-to-back clauses, which makes it hard for an agent to parse or front-load the key fact that this returns a list. Nearly every detail is domain-informative, but the packaging actively harms retrieval and comprehension. It needs to be broken into a short lead sentence plus structured bullets.

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, the description carries the burden of explaining the returned structure, and it does so thoroughly: name, trigger and trigger_parameters, subject, conditions, actions with keys/kinds/parameters, paused, position, plus the cross-references back from shipment.warehouse.automation and preallocation.automation. An agent can interpret the response without further documentation. It is complete, but completeness here comes at the cost of the readability scored above.

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?

Only one optional parameter, and the schema already documents it at 100% coverage with the default stated. The description merely restates that archived ones appear only with include_archived, adding no syntax or edge-case detail beyond the schema. Baseline of 3 is appropriate when the schema fully covers the 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?

The description identifies the exact resource — the organization's programmed shipment rules, returned in run order — and the title/name confirm the list verb. It never states the verb in the description itself ("The rules the organization programmed..." is a noun phrase), so an agent gets the resource but must infer that this returns a collection. It is nonetheless distinguishable from the many other list_* siblings by its focus on rules with triggers, conditions and actions.

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 triggering questions ("why is this container going to Hamburg", "which rules do we have") that map directly to when to call it, and warns that archived rules appear only with include_archived. It also states the tool is read-only and that edits happen in the web app, which usefully prevents an agent from attempting mutation through this tool. It does not point to a named alternative for creating or editing rules, but it does name sibling tools (get_warehouse, list_labels) for resolving ids.

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