Skip to main content
Glama
saidsef

GitHub PR Issue Analyser

by saidsef

Github Dispatch Workflow

github_dispatch_workflow

Triggers a GitHub Actions workflow_dispatch run on a branch or tag with declared inputs and returns run details for tracking.

Instructions

Starts a workflow that declares a workflow_dispatch trigger, on ref, with inputs keyed by the names its file declares. GitHub takes at most 25 inputs, so more are refused before any request. The request sets return_run_details, since without it GitHub answers 204 and says nothing of the run. See #503.

Workflow and conventions: github_get_skill('pr-management').

Input Schema

NameRequiredDescriptionDefault
refYesBranch or tag to run the workflow on
inputsNoValues for the inputs the workflow declares, at most 25
repo_nameYes
repo_ownerYes
workflow_idYesThe workflow's id, or its file name such as ci.yml

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv54.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing client-side validation (inputs beyond 25 are refused before any request is sent) and the return_run_details behavior — that GitHub otherwise answers 204 with no run information. That is genuinely useful behavior the schema and annotations do not convey.

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-loads the action and constraints in two tight sentences. The 'See #503' issue reference is opaque to an agent that cannot read issue trackers and does not earn its place.

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?

An output schema exists, so return values need not be explained, and the description correctly notes that return_run_details is what makes the response useful. For a 5-parameter mutation with annotation coverage, this leaves little an agent needs missing.

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 coverage is 60%; the description adds that inputs must be keyed by the names the workflow file declares and restates the 25 cap. It does not clarify repo_owner, repo_name, or the integer-vs-filename ambiguity of workflow_id beyond what the schema already says.

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 (starts) and resource (a workflow that declares workflow_dispatch), plus the scoping mechanism (on ref, with inputs). No sibling tool does anything similar, and the precondition 'declares a workflow_dispatch trigger' prevents misfires on non-dispatchable workflows.

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?

A precondition is given (the workflow must declare workflow_dispatch) and a conventions pointer to github_get_skill('pr-management'), but there is no explicit when-not-to-use or named alternative. Usage is implied rather than routed.

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