Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Replaced by ronda.

Moved to com.useronda/ronda

Create new file

create_file

Create a NEW file in the sandbox repository and commit it on the session's ronda branch (not pushed to GitHub until open_pr). Never overwrites: fails with FILE_ALREADY_EXISTS if anything exists at the path. Parent directories are created. Use apply_patch to change an existing file. Optionally pass anchors (up to 3) and anchorRoute: visible text on the changed page that points at the change, used by the Show me link; ronda checks each against the page and the change and drops any it cannot find.

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": {
      "sessionId": "<sessionId>",
      "path": "<path>",
      "content": "<content>"
    },
    "name": "create_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesNew file path relative to the repository root. Parent directories are created. Must not exist yet.
anchorsNoUp to 3 pieces of visible page text that point at the change, used by the Show me link; ronda checks each against the page and the change and drops any it cannot find.
contentYesFull content of the new file (UTF-8).
contextNoA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
messageNoShort description; used as the commit message and edit summary.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
sessionIdYesThe ronda session id, from open_session or list_sessions.
anchorRouteNoPage path the anchors are on, e.g. '/pricing'. Omit for the page ronda infers from the change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare write, non-destructive, non-idempotent, closed-world, but the description adds genuinely new behavior: no overwrite ever, a named error code, automatic parent-directory creation, commit-on-branch vs. deferred push, and the anchor validation/drop rule. It does not say what the call returns (e.g., path, commit sha), which is the main remaining gap.

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?

Front-loads creation scope and the non-overwrite guarantee, then the sibling alternative, with the optional anchor detail last. It is a dense single block and the anchor paragraph largely duplicates the schema text, but every sentence still carries operational information.

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?

For an 8-parameter write tool with full schema coverage and annotations, the description covers creation semantics, failure mode, branch/commit lifecycle, sibling routing, and optional anchor behavior. The only notable omission is return/result information, which matters somewhat because no output schema exists.

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 coverage is 100%, so path, content, message, sessionId, anchors and anchorRoute are already documented, including the anchor-drop and page-inference rules. The description restates the anchors/anchorRoute semantics without adding syntax, limits, or defaults beyond the schema; baseline 3 is appropriate when the schema carries the meaning.

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?

States a specific verb and resource ('Create a NEW file'), the target location and lifecycle ('sandbox repository', committed to the session's ronda branch, not pushed until open_pr), and explicitly contrasts itself with apply_patch. An agent can distinguish it from write_file/apply_patch without opening any schema.

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

Usage Guidelines5/5

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

Gives when-to-use (new file only) and when-not-to-use with the named alternative: 'Use apply_patch to change an existing file.' The FILE_ALREADY_EXISTS failure also makes the boundary operational rather than advisory, and the open_pr reference clarifies when changes become externally visible.

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.

Resources