Skip to main content
Glama

github_api_put

Destructive

Execute PUT 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_put"
  }
}

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.8/5.0
Behavior4/5

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

Annotations already flag destructive=true, readOnly=false, openWorld=true, and the description reinforces this with 'Deletion may be irreversible' and 'provider permissions and Leash protections still apply'. It also adds value annotations cannot carry: reason/context feed an activity record, those explanations do not grant permission, and denials must not be bypassed. The deletion warning is slightly off-key for a PUT tool and return behavior is unaddressed, keeping it below a 5.

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 operative guidance (relative path, JSON passthrough, irreversible deletion) is front-loaded and useful, but a large share of the text is generic Leash boilerplate about account connections and permission changes that applies to every sibling tool. That padding dilutes the tool-specific content across a single dense paragraph.

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 an open-world destructive passthrough with a nested input object and no output schema, the definition covers permissions and audit obligations but says nothing about the response shape, error or denial surfacing, or the query parameter. Adequate to call safely, not complete enough to call confidently.

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

Parameters5/5

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

With 67% schema coverage the description still adds meaningful semantics: apiPath must be API-relative, never a URL, and 'All JSON fields are supported' clarifies that body is a free-form passthrough rather than a fixed shape. It also frames reason and context as audit-record fields, which the schema descriptions only partially convey.

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?

States a specific verb and resource: 'Execute PUT on the connected github service API', which lets an agent distinguish it from github_api_get/post/patch/delete by HTTP method alone. It does not, however, explain what PUT semantically does on GitHub (full replace) versus PATCH (partial update), so method selection still requires outside knowledge.

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 genuine usage guidance for the calling convention, and the access/denial language tells the agent how to react to a permission error. There is no guidance on when to choose this generic PUT over the higher-level siblings such as github_create_issue or github_add_issue_labels, which is the main decision an agent faces.

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.