Skip to main content
Glama

Vira – Create, Teach & Manage AI Behavior

list_task_run_events

Read-onlyIdempotent

Read the persisted scoped TaskRun lifecycle events. Use to read the scoped resource; use its create, execute, or transition sibling for state changes. Required fields: organizationId, projectId, environmentId, taskRunId. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This is read-only and returns scope-bound data.

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": {
      "taskRunId": "<taskRunId>"
    },
    "name": "list_task_run_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
taskRunIdYesImmutable taskRunId reference used to bind this list_task_run_events operation to the correct released or persisted resource.
environmentIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.
organizationIdNoAuthenticated customer scope identifier; must match the API key scope and is never inferred from model text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Removed
  2. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / environmentId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / organizationId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / projectId / description
      Added value: +"Authenticated customer scope identifier; must match the API key scope and is never inferred from model text."
    • addedInput schema / properties / taskRunId / description
      Added value: +"Immutable taskRunId reference used to bind this list_task_run_events operation to the correct released or persisted resource."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered. The description adds genuinely new context: tenant scope comes from the authenticated session, supplied scope identifiers must match it, and unknown fields are rejected. It stops short of describing event ordering, volume, or pagination, which matters for an events listing.

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?

It is short and front-loads the purpose and the sibling routing before the constraint details. The tenant-scope sentence partly duplicates what the schema property descriptions already state for the three scope identifiers, so a small amount of text is not pulling its weight.

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?

Annotations cover safety and the schema is fully documented, so the core is intact. However there is no output schema and the description says nothing about what a 'lifecycle event' record contains or how results are ordered or bounded, leaving an agent unable to anticipate the return shape for a listing tool.

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

Parameters2/5

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

Schema coverage is 100%, so the baseline would be 3, but the description actively misleads: it lists 'Required fields: organizationId, projectId, environmentId, taskRunId' while the schema requires only taskRunId. It then undercuts itself by saying 'any supplied scope identifiers must match it,' implying those fields are optional. For a caller, this is contradictory guidance about which arguments are mandatory.

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?

The opening sentence names a specific verb and resource ('Read the persisted scoped TaskRun lifecycle events') and immediately separates it from write-oriented siblings via 'use its create, execute, or transition sibling for state changes.' An agent can distinguish this from mutation siblings without opening a schema.

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?

It gives a clear read-vs-mutate rule and warns that state changes belong to other tools, which is explicit when-to-use guidance. The gap is that it never acknowledges read-oriented siblings such as get_task_run or the other list_* tools in the catalog, so an agent may still hesitate between this and a single-resource read.

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