Skip to main content
Glama

workspaces_segments_automations_retrieve

One automation on a segment by its sqid, with its full config.

Method: GET /api/v1/workspaces/{workspace_sqid}/segments/{segment_sqid}/automations/{sqid}/

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": {
      "segment_sqid": "<segment_sqid>",
      "sqid": "<sqid>"
    },
    "name": "workspaces_segments_automations_retrieve"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes
segment_sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does state the HTTP method (GET), which signals a side-effect-free read, and it states that the return includes the automation's full `config`. It says nothing about permissions, whether the operation is scoped to the workspace in the path, or what happens when the automation does not exist.

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 lines: the payload statement comes first, followed by the method and URL. Nothing is redundant, though the raw URL line is a weaker use of space than a sentence about scoping would have been.

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?

For a two-parameter read-only retrieve operation with no output schema, the definition covers purpose, the return payload, and the endpoint. What is missing is minor: error behavior and the workspace-scoping requirement are not stated, but an agent can still call it correctly.

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 description coverage is 0%, so the description must supply the meaning of the parameters. It clarifies that `sqid` is the automation identifier and that `segment_sqid` selects the segment within the workspace path, but it gives no format hints, such as the `sqid` prefix convention, and it never explains why `workspace_sqid` appears in the path but not in the schema.

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 gives a specific verb and resource: it retrieves a single automation on a segment, identified by `sqid`, and states that the full `config` is returned. The phrase "One automation" implicitly distinguishes it from the `list` and `create`/`destroy` siblings, though no sibling is named explicitly.

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?

The "by its `sqid`" phrasing implies this tool is used when a single known automation is needed, and the `list` sibling is the implied alternative. However, the definition never says when to prefer this tool over the list tool, and it gives no prerequisites, such as needing a segment context or the consequences of an unknown `sqid`.

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.