Skip to main content
Glama

list_executions

Read-onlyIdempotent

Search a tenant's agent executions, newest first, with pagination and filters for trace, session, agent, status, source, and date range to locate specific runs.

Instructions

Search the tenant's agent executions, most recent first, with pagination (page, limit). Filters: trace_id (the correlation id the integrator sent in metadata.trace_id), session_id, agent_id, status, source (chat, sse, mcp_server, webhook, schedule, email, task, builder, process), start_date/end_date (ISO 8601). Same as GET /api/v1/executions. For one execution's detail use get_execution_diagnostics; for the multi-agent tree, get_execution_trace

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number; defaults to 1
limitNoResults per page; defaults to 20, maximum 100
sourceNoInvocation source: chat, sse, mcp_server, webhook, schedule, email, task, builder or process
statusNoExecution outcome
agent_idNoExecutions for this agent only
end_dateNoISO 8601 timestamp; include records created at or before this time
trace_idNoIntegrator correlation ID, supplied as metadata.trace_id
session_idNoExecutions for this session only
start_dateNoISO 8601 timestamp; include records created at or after this time

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.2.4
    • addedInput schema / properties / agent_id / description
      Added value: +"Executions for this agent only"
    • changedInput schema / properties / end_date / description
      Previous value: -"ISO 8601 — created_at <= end_date"New value: +"ISO 8601 timestamp; include records created at or before this time"
    • changedInput schema / properties / limit / description
      Previous value: -"Itens por página (default 20, max 100)"New value: +"Results per page; defaults to 20, maximum 100"
    • changedInput schema / properties / page / description
      Previous value: -"Página (default 1)"New value: +"Page number; defaults to 1"
    • addedInput schema / properties / session_id / description
      Added value: +"Executions for this session only"
    • changedInput schema / properties / source / description
      Previous value: -"Origem técnica: chat, sse, mcp_server, webhook, schedule, email, task, builder, process"New value: +"Invocation source: chat, sse, mcp_server, webhook, schedule, email, task, builder or process"
    • changedInput schema / properties / start_date / description
      Previous value: -"ISO 8601 — created_at >= start_date"New value: +"ISO 8601 timestamp; include records created at or after this time"
    • addedInput schema / properties / status / description
      Added value: +"Execution outcome"
    • changedInput schema / properties / trace_id / description
      Previous value: -"Correlação do integrador (metadata.trace_id do chat)"New value: +"Integrator correlation ID, supplied as metadata.trace_id"
  2. Addedv2.2.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds value beyond them by disclosing result ordering ('most recent first') and tenant scoping, which the annotations do not convey. It does not mention pagination metadata in the response or any rate limits, keeping it short of a 5.

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-loaded with purpose and ordering, then filters, then sibling routing — a logical progression with no filler prose. It is somewhat dense in enumerating all nine filters that the schema already lists, but the compact parenthetical form keeps it scannable rather than bloated.

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 nine all-optional parameters and no output schema, the description covers the essentials: ordering, filtering semantics, and where to go for detail or tree views. It stops short of describing the shape of returned records or pagination metadata, which an agent might want, but annotations and schema cover the safety and parameter surface adequately.

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%, so every parameter is already documented, and the description largely restates the same filter list and enum values. The only meaningful addition is the framing of trace_id as the integrator correlation id in metadata.trace_id, which the schema already states. Baseline 3 is appropriate when the schema carries the semantic load.

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?

States a specific verb and resource ('Search the tenant's agent executions'), plus ordering ('most recent first') and pagination, and names the two sibling tools that cover different granularities. An agent can distinguish this listing tool from get_execution_diagnostics and get_execution_trace without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use this for searching executions, use get_execution_diagnostics for one execution's detail, and get_execution_trace for the multi-agent tree. It also anchors the semantics to a known REST endpoint (GET /api/v1/executions), which removes ambiguity about what the tool returns.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools