Skip to main content
Glama

github_ops

Perform GitHub operations for repositories, issues, pull requests, releases, workflows, secrets, and search via the gh CLI, enabling centralized project management.

Instructions

GitHub operations via gh CLI — 66 actions. Requires: gh auth login.

REPOS: repo_list, repo_view, show_repo, repo_create, repo_fork, repo_clone, repo_rename, repo_archive, repo_edit, repo_set_topics (repo_delete: REST/webapp only, not on MCP) ISSUES: issue_list, issue_view, issue_create, issue_close, issue_comment PRs: pr_list, pr_view, pr_create, pr_merge, pr_checkout, pr_close, pr_comment RELEASES: release_list, release_view, release_create, release_delete, release_update, release_upload ACTIONS: workflow_list, workflow_run, workflow_runs, workflow_cancel, workflow_disable, workflow_enable LABELS: label_list, label_create, label_delete SECRETS: secrets_list, secrets_set, secrets_delete COLLABORATORS: collaborator_add, collaborator_remove SEARCH: search_repos, search_repos_topic, search_issues, search_code (pretty=), code_find_repos PROJECTS: project_list, project_view, project_create, project_delete, project_edit PACKAGES: package_list, package_view, package_delete GITINGEST: gitingest_link, gitingest_convert_url, gitingest_help MISC: auth_status, gist_list

Search queries take normal GitHub syntax with several qualifiers, e.g. query='user:me updated:>=2026-10-01 -label:bug'. search_issues also scopes by owner= (and repo=) and returns PRs with include_prs=True or is:pr in query.

Non-blocking: subprocess runs in thread pool, never freezes MCP server. release_delete needs confirm=True + confirm_token (red-shelf gate). repo_delete was removed from the MCP surface (webapp/CLI only).

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": {
      "operation": "<operation>"
    },
    "name": "github_ops"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
bodyNo
repoNo
draftNo
labelNo
limitNo
ownerNo
queryNo
stateNoopen
titleNo
topicNo
prettyNo
run_idNo
topicsNo
clobberNo
confirmNo
privateNo
subpathNo
assigneeNo
categoryNo
homepageNo
new_nameNo
tag_nameNo
usernameNo
extensionNo
operationYes
pr_numberNo
add_topicsNo
github_urlNo
label_nameNo
permissionNopush
prereleaseNo
target_dirNo
asset_filesNo
base_branchNo
descriptionNo
head_branchNo
include_prsNo
label_colorNo
secret_nameNo
workflow_idNo
issue_numberNo
merge_methodNomerge
package_nameNo
package_typeNo
path_patternNo
release_nameNo
search_scopeNo
secret_valueNo
confirm_tokenNo
output_formatNomarkdown
remove_topicsNo
project_numberNo
label_descriptionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

B3.4/5.0
Behavior3/5

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

With zero annotations, the description carries the full behavioral burden, and it does disclose real traits: subprocess execution in a thread pool, the red-shelf confirmation gate on release_delete, and the auth prerequisite. But across 66 actions that include deletes, force-ish topic edits, secret writes, and merges, there is no disclosure of destructive scope, permission requirements per action, rate limits, or reversibility — a substantial gap for a mutation-heavy multiplexer.

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?

The layout is deliberate: the auth prerequisite and action count are front-loaded, operations are grouped under labeled domain headers, and operational caveats are collected at the bottom. The comma-separated name lists are dense but each entry is load-bearing for a multiplexer; the closing prose paragraphs are slightly scattered but short.

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

Completeness3/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 no explanation, and the operation catalog covers the 'what can it do' question well. For a 66-action, 54-parameter, mutation-capable tool with no annotations, however, the definition leaves the operation-to-parameter mapping and per-action safety profile undefined, which is exactly the information an agent needs before invoking a destructive branch.

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 description coverage is 0% across 54 parameters, so the description must compensate and largely does not. It adds meaning for only a handful — query (GitHub qualifier syntax with an example), owner/repo scoping for search_issues, include_prs, pretty=, and confirm/confirm_token — while dozens of parameters (ref, body, merge_method, permission, secret_value, clobber, topics, base_branch/head_branch, release_name, output_format) go entirely unexplained. Critically, it never maps which parameters apply to which of the 66 operations.

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 opens with a specific statement of resource and mechanism ('GitHub operations via gh CLI — 66 actions') and then enumerates every operation grouped by domain (REPOS, ISSUES, PRs, RELEASES, ACTIONS, SECRETS, etc.), which lets an agent identify the tool's scope without opening the schema. It stops short of distinguishing this tool from siblings such as git_github_search_workflow, git_github_status, or git_admin, which plausibly overlap on search/status operations.

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 supplies a prerequisite ('Requires: gh auth login'), an explicit exclusion (repo_delete lives on the webapp/CLI only, not MCP), a gated-operation note (release_delete needs confirm=True + confirm_token), and concrete query-syntax guidance including owner=/repo= scoping and include_prs=True for PR results. What is missing is routing advice relative to sibling tools — nothing says when to call github_ops versus git_github_search_workflow or git_admin.

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