Skip to main content
Glama

merjax_trigger_workflow

Dispatch a workflow_dispatch run. Mirrors POST /api/v2/repos/.../actions/workflows/:filename/dispatches. Requires 'repo' scope.

Input Schema

NameRequiredDescriptionDefault
refNoBranch / tag / sha (default: repo default branch)
repoYes
ownerYes
inputsNoWorkflow inputs (object)
filenameYesWorkflow filename (e.g. ci.yml)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description correctly frames this as a side-effecting dispatch, so there is no contradiction. It adds useful auth context ('Requires repo scope') beyond the annotations, but says nothing about whether the call is asynchronous, what it returns (the GitHub API returns 204 with no body), or whether repeated dispatches create duplicate runs.

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?

Two tight sentences with the action front-loaded and zero filler; the endpoint mapping and auth requirement follow in priority order. It is efficient, though the terseness leaves real gaps that brevity alone does not excuse.

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 five-parameter, nested-object mutation tool with no output schema, the description covers the action and auth but omits the essentials an agent needs: the shape of 'inputs', the default-branch behavior of 'ref', and what a successful dispatch yields. An agent could call it, but would be guessing on the inputs contract.

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 only 60%, and the single most important parameter for workflow_dispatch, the nested 'inputs' object, is described only as 'Workflow inputs (object)' in the schema and not at all in the description. The description does not explain how filename, ref, and inputs interact with the workflow definition, so it fails to compensate for the coverage gap.

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 specific verb and resource ('Dispatch a workflow_dispatch run') and anchors it to the upstream REST endpoint, so an agent can tell it apart from sibling read tools like merjax_get_workflow_run or control tools like merjax_cancel_workflow_run and merjax_rerun_failed_jobs. It stops short of explicitly naming those alternatives, so no credit for sibling differentiation.

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 'Requires repo scope' line gives a real prerequisite, and 'workflow_dispatch' implies the target workflow must declare that trigger. But there is no guidance on when to use this versus rerun_failed_jobs or merjax_ci_executor, and no exclusions or caveats about duplicate dispatches.

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