Skip to main content
Glama

github_agent_automations_list_repo_automation_tasks

Read-only

List and filter automation tasks in a GitHub repository by state, archive status, sort order, and pagination to track queued, active, completed, or failed work.

Instructions

List tasks for an automation in a repository

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": {
      "owner": "<owner>",
      "repo": "<repo>",
      "automation_id": "<automation_id>"
    },
    "name": "github_agent_automations_list_repo_automation_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoThe page number of the results to fetch.
repoYesrepo
sortNoThe field to sort results by. Can be `updated_at` or `created_at`.
ownerYesowner
stateNoComma-separated list of task states to filter by. Can be any combination of: `queued`, `in_progress`, `completed`, `failed`, `idle`, `waiting_for_user`, `timed_out`, `cancelled`.
per_pageNoThe number of results per page (max 100).
directionNoThe direction to sort results. Can be `asc` or `desc`.
is_archivedNoFilter by archived status. When `true`, returns only archived tasks. When `false` or omitted, returns only non-archived tasks. Defaults to `false`.
automation_idYesautomation_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds only the automation/repo scoping already implied by the name, and says nothing about pagination, filter behavior, default archived-task exclusion, or result ordering — context an agent would need to predict results.

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

Conciseness3/5

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

It is a single front-loaded sentence with zero filler, which is good structurally. However, the brevity comes at the cost of under-specification rather than efficient communication of the tool's capabilities.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter listing tool with state, archive-status, sort, direction, and pagination filters, the description never signals that filtering or pagination exist. No output schema exists either, so the description should carry more weight than a single clause about scope.

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%, with all nine parameters including enums for sort and direction fully documented in the schema. The description contributes no additional parameter meaning, so the baseline 3 applies.

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 uses a specific verb (List) and resource (tasks) and scopes it to 'an automation in a repository', which distinguishes it from broader task-listing siblings like list_tasks_for_repo. It stops short of naming any alternative tool explicitly, so the differentiation is inferred rather than stated.

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 phrase 'for an automation in a repository' implies the usage context (when you know an automation_id and want its tasks), but there is no explicit when-to-use, when-not, or pointer to a sibling for listing tasks across a whole repo. Guidance is only implied.

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