Skip to main content
Glama
r28ai

GitHub + Linear Dev Workflows

by r28ai

github_actions_review_pending_deployments

Approve or reject pending deployments for a GitHub Actions workflow run using environment IDs; GitHub requires a review comment.

Instructions

Approve or reject a run's pending deployments. Takes the environment ids from actions_list_pending_deployments. A comment is required by GitHub, not optional.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesThe name of the repository without the `.git` extension. The name is not case sensitive.
ownerYesThe account owner of the repository. The name is not case sensitive.
runIdYesThe ID of the workflow run.
stateYesWhether to approve or reject deployment to the specified environments.
commentYesA comment to accompany the deployment review.
environmentIdsYesThe list of environment ids to approve or reject. These are the `environment.id` values from `actions_list_pending_deployments`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutating nature is known. The description adds one genuinely useful behavioral fact -- that GitHub mandates a comment even though it looks optional -- but omits permissions, irreversibility, and post-review effects, which is moderate value given annotation coverage.

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

Conciseness5/5

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

Three short sentences, zero padding, with the core action front-loaded and the prerequisite and constraint following in priority order.

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?

For a 6-required-param mutation tool with no output schema, the description covers the action, the id source, and a key constraint. It could mention permission requirements or the consequence of the review, but nothing essential to correct invocation is 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 description coverage is 100%, so the schema already documents all six parameters including the environmentIds source and the state enum. The description's note that the comment is required by GitHub adds slight emphasis but no new syntax or format detail beyond the schema.

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 pair (approve or reject) applied to a specific resource (a run's pending deployments), which cleanly distinguishes it from the sibling github_actions_list_pending_deployments that merely reads them.

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 establishes the prerequisite workflow by directing the agent to obtain environment ids from actions_list_pending_deployments first, giving clear sequencing context. It does not state explicit exclusions or when-not-to-use, keeping it just short of a 5.

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