Skip to main content
Glama

gluecron_review_deployment

Approve or reject a workflow run's jobs waiting on a protected environment (environment: with required reviewers). The caller must be a reviewer of every environment selected (the environment's reviewers, or the repository owner when none are listed). An approval runs the job (after the environment's wait timer, if any); a rejection fails it. Mirrors POST /api/v2/repos/.../actions/runs/:id/pending_deployments. Requires 'repo' scope.

Input Schema

NameRequiredDescriptionDefault
repoYes
ownerYes
stateYes"approved" or "rejected"
run_idYesThe run's id, or a unique leading part of it (8+ hex characters)
commentNo
environmentsNoEnvironment names (or ids), as strings, to decide; omitted = every waiting one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only give readOnlyHint=false and destructiveHint=false, so the description carries real weight and delivers: it discloses the required reviewer/owner permission model, the distinct post-conditions of approval (job runs after any environment wait timer) versus rejection (job fails), and the required 'repo' scope. This is well beyond what annotations provide.

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?

Front-loaded with the action and the object it acts on, then layered with permissions, effects, endpoint parity, and scope in tightly packed sentences. No filler; every clause adds callable information.

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

Completeness5/5

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

For a mutation tool with no output schema, the description covers who may call it, what each state value does, the wait-timer timing, the underlying API endpoint, and the required scope. The remaining undocumented params (owner, repo, comment) are conventional enough that an agent can invoke the tool correctly.

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 50%, with state, run_id, and environments already documented in the schema. The description restates the approved/rejected semantics but adds no syntax or format detail beyond the schema, and leaves 'comment' and 'owner'/'repo' undocumented. Baseline 3 is appropriate.

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 description states a specific verb pair and resource: 'Approve or reject a workflow run's jobs waiting on a protected environment.' This is precise enough to separate it from siblings like cancel_workflow_run, rerun_failed_jobs, and prioritize_workflow_run, since it targets pending deployments gated by required reviewers.

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 clearly establishes the trigger scenario (jobs waiting on a protected environment with required reviewers) and the caller precondition (must be a reviewer of every selected environment). It does not name alternatives or state explicit exclusions, but the usage context is unambiguous.

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