Skip to main content
Glama

emacs_buffer_create

Create a new Emacs buffer with a specified name, optional major mode, and initial content. Ideal for programmatically setting up editing environments or org-mode workflows via emacsclient.

Instructions

Create a new buffer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoMajor mode for the buffer (e.g., org-mode, python-mode)
nameYesName for the new buffer
contentNoInitial content for the buffer
Install Server

TDQS

C2.9/5.0
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 only states the creation act and says nothing about side effects such as whether the buffer becomes active, what happens if the name already exists, or whether content is inserted.

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 description is a single, direct sentence with no wasted words. However, its extreme brevity means it sacrifices useful context, though what is present is clear and front-loaded.

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

Completeness2/5

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

For a tool with three parameters, no annotations, no output schema, and many sibling tools, a one-sentence description is insufficient. It lacks information about required vs optional parameters, behavior on name conflicts, whether the buffer is auto-switched to, and how mode/content are used.

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 name, mode, and content are already documented in the schema. The description adds no additional param semantics, but the baseline of 3 applies because the schema carries the detailed parameter meaning.

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 uses a specific verb and resource ('Create a new buffer'), clearly indicating the operation. It is essentially a restatement of the tool name but is not vague and is distinguishable from sibling buffer read/write/edit/kill operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given about when to use this tool versus alternatives like emacs_buffer_write, emacs_buffer_edit, or emacs_buffer_switch. The description does not mention prerequisites or situations where one sibling would be preferred.

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

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/mandoo180/emacs-mcp'

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