Skip to main content
Glama
wuqunfei

github-mcp-server-js

by wuqunfei

create_gist

Create a new GitHub gist by supplying files and their content. Choose public visibility or keep it secret (unlisted) with a direct URL.

Instructions

Create a new gist. A gist is a shareable snippet or small file. Supply one or more files with their content; each file key is the filename (including extension). Set public to true to make the gist visible to all GitHub users, or false (default) for a secret gist (unlisted but accessible by direct URL). Docs: https://docs.github.com/en/rest/gists/gists#create-a-gist

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesFiles that make up the gist. Each key is the filename (e.g. "hello.rb") and each value is an object with a content field.
publicNoWhether the gist is public (true) or secret (false, default).
descriptionNoDescription of the gist.
Behavior4/5

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

With no annotations provided, the description carries the burden of explaining behavior. It discloses the public/secret distinction, the default for public, and that secret gists are unlisted but accessible via URL. It does not mention auth or response format, but covers the key semantics.

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 concise at three sentences, leads with the core purpose, and each sentence provides useful information. The docs link is a helpful addition without being verbose.

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

Completeness4/5

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

Given the simple one-required-param tool and rich schema, the description covers the essential usage well. It lacks only minor details like authentication requirements or the return value, but the included behavior and parameter guidance make it sufficiently complete.

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?

The input schema already describes all three parameters, so baseline is 3. The description adds valuable meaning by specifying that each file key is the filename including extension, and clarifies the visibility semantics of the public flag beyond the schema.

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 starts with 'Create a new gist', a specific verb and resource, and then clarifies what a gist is. This clearly distinguishes it from sibling tools like get_gist, update_gist, and delete_gist.

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?

The description provides clear usage context, explaining that you should supply one or more files and how to control visibility with the public flag. It does not explicitly mention alternatives or when not to use it, but the create operation is unambiguous.

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/wuqunfei/github-mcp-server-js'

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