Skip to main content
Glama

github_api_patch

Destructive

Execute PATCH on the connected github service API. Use an API-relative resource path, never a URL. All JSON fields are supported. Requires no individual action restrictions for this service; provider permissions and Leash protections still apply. Deletion may be irreversible. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.

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": {
      "reason": "<reason>",
      "context": "<context>",
      "input": "<input>"
    },
    "name": "github_api_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reasonYesWhy this access is necessary to fulfill the user's request
contextYesThe user request or task that prompted this action; omit unnecessary private details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false, openWorldHint=true), the description discloses that no per-action restrictions apply, that provider and Leash protections persist, that a denial must never be bypassed, and that reason/context are recorded for audit without granting permission. That is meaningful operational context an agent cannot get from the schema. It is weaker on what a successful PATCH returns, and the 'Deletion may be irreversible' line is boilerplate that sits awkwardly on a PATCH verb without contradicting the destructive hint.

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

Conciseness3/5

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

The action and path constraint are correctly front-loaded, but the tail is padded with repeated Leash boilerplate ('These explanations do not grant permission' / 'never bypass a denial' / 'follow any access guidance') that restates the same governance point three ways. The 'Deletion may be irreversible' sentence is likely template text that does not fit a PATCH tool.

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?

For a generic open-world API proxy with a nested freeform body and no output schema, the definition covers permissions, audit requirements, and path format but says nothing about which GitHub endpoints are reachable, whether the response body is returned, or how errors surface. Adequate to call safely, not adequate to predict results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 67% schema coverage, the description compensates for the gaps: 'API-relative resource path, never a URL' explains the apiPath format that the schema only length-constrains, and 'All JSON fields are supported' signals that body is a freeform object with arbitrary keys. The query parameter and the expected body shape per endpoint remain undocumented in both places.

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 first sentence names a specific verb and resource: 'Execute PATCH on the connected github service API', which cleanly separates it from the get/post/put/delete siblings in the same service family. It stops short of saying what kinds of resources can be patched, so the scope is generic passthrough rather than a concrete domain object.

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?

'Use an API-relative resource path, never a URL' is a real usage constraint that will save a failed call. However, there is no guidance on when to prefer this generic PATCH over more specific siblings such as github_add_issue_labels, nor any stated preconditions beyond the boilerplate about account connection.

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.