Skip to main content
Glama

update_gist

Modify existing GitHub gists by updating file content, adding new files, or deleting files through the GitHub MCP Server.

Instructions

Update an existing gist. Provide files to add/update, or set a filename's content to empty string to delete it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gist_idYesGist ID
descriptionNoNew description (omit to keep current)
filesNoDictionary of filename to new content. Empty string deletes the file.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions file deletion via empty strings, which is useful, but fails to cover critical aspects like whether this is a mutation (implied by 'Update'), permission requirements, error handling (e.g., invalid gist_id), or response format. This leaves significant gaps for an agent to understand the tool's behavior.

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?

The description is extremely concise with two sentences that directly address core functionality without any fluff. It is front-loaded with the main purpose and efficiently explains file handling, making every word count.

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?

Given the tool's complexity (mutation with file management), lack of annotations, and presence of an output schema (which reduces need to describe returns), the description is moderately complete. It covers the basic operation but misses important contextual details like authentication needs, error cases, or side effects, which are crucial for safe invocation.

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 parameters thoroughly (gist_id, description, files). The description adds marginal value by clarifying file operations ('add/update' and deletion via empty string), but doesn't provide additional syntax or format details beyond what the schema specifies. This meets the baseline for high schema coverage.

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 clearly states the action ('Update an existing gist') and specifies the resource ('gist'), making the purpose immediately understandable. It distinguishes from sibling 'create_gist' by focusing on updates rather than creation, though it doesn't explicitly contrast with other update tools like 'update_issue' or 'update_pull_request'.

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?

The description implies usage when modifying an existing gist, particularly for file management (add/update/delete). However, it lacks explicit guidance on when to choose this tool over alternatives like 'create_or_update_file' for repository files or doesn't mention prerequisites such as authentication or ownership requirements.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/software-engineer-mj/github-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server