Skip to main content
Glama

Read intelligence operations

swarm_read_operations
Read-onlyIdempotent

List recorded intelligence operations or inspect one using operation_id. Read its operation contract before submitting work. Recorded status is not permission to run another operation.

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": {
      "view": "<view>"
    },
    "name": "swarm_read_operations"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewYesSelect one operation. details: requires operation_id; list: no required fields. Supply only fields applicable to that operation.
limitNoPage size; follow next_cursor for more.
orderNoasc or desc; retain the same order across pages.
cursorNoPrevious next_cursor; keep filters and order.
statusNoStatus filter; use values returned for this resource.
space_idNoSpace for Space-scoped views; omit if sole. ID-only views resolve access from the resource ID, not this convenience field.
operation_idNoOperation ID from swarm_read_operations (view=list).
capability_keyNoCapability filter from swarm_inspect_space (view=capabilities).
operation_kindNoKind from swarm_inspect_space (view=capabilities); read its operation contract.

Output Schema

NameRequiredDescriptionDefault

No arguments

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 declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely non-obvious semantics beyond them: recorded status is not authorization to execute, and the contract must be read before submitting work. It stops short of describing pagination or result shape, but the output schema carries that.

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?

Three short sentences, front-loaded with the list/inspect scope, and nothing is redundant. The final sentence ('Recorded status is not permission to run another operation') is terse to the point of being cryptic and would benefit from one clarifying clause.

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?

Return values need not be explained because an output schema exists, and pagination is documented in the schema. What is missing is the routing logic between this tool's two views and the three near-identically named sibling tools, which is the main ambiguity an agent faces with a 9-parameter tool of this kind.

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 100%, including the view enum spelling out that details requires operation_id, so the baseline is 3. The description only echoes operation_id as the inspection key and adds no format, filter-combination, or cursor-retention detail beyond 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 states a concrete verb and resource ('List recorded intelligence operations or inspect one') and distinguishes its two modes: listing versus inspecting via operation_id. It does not name swarm_get_operation or swarm_list_operations, so an agent cannot tell from the text alone how this overlaps with those similarly named siblings.

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?

It gives a workflow directive ('Read its operation contract before submitting work') and a caution ('Recorded status is not permission to run another operation'), which is useful context. However, it never states when to choose view=list versus view=details, nor when to prefer swarm_get_operation or the contract tool; the mode-selection guidance lives only in the schema's enum description.

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.