Skip to main content
Glama

Commit and push project changes

dreamagent_commit_push

WRITE ACTION — commit ALL pending changes in a DreamAgent project and push them to its private GitHub repo. The commit gets its own entry in the project's session history and version history, so the user can restore/revert to it in the DreamAgent dashboard.

Use it to (a) commit several MCP writes/deletes as ONE version — write and delete with auto_commit=false first — or (b) retry a commit after a failure. Chat-driven edits commit automatically; this tool is for direct file changes made through MCP.

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": {
      "project_id": "<project_id>"
    },
    "name": "dreamagent_commit_push"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNomust be true to execute
messageNoshort commit message, e.g. "Update landing hero section" (default "MCP edit: project <id>")
project_idYesproject to commit

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / message / description
      Previous value: -"short commit message, e.g. \"Add pricing page hero section\"\n(default \"MCP edit: project <id>\")"New value: +"short commit message, e.g. \"Update landing hero section\"\n(default \"MCP edit: project <id>\")"
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false; the description adds the non-obvious consequences: the commit creates an entry in session history and version history, and the user can restore/revert to it from the dashboard. It also frames the operation as retry-safe, which is meaningful behavioral context beyond the annotation trio.

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?

It leads with a capped "WRITE ACTION" marker, then states what the tool does and its side effects, then closes with the two usage scenarios and the exclusion. Every sentence contributes; there is no restatement of the name or title.

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

Completeness5/5

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

For a three-parameter, output-schema-backed write tool, the definition covers purpose, side effects, reversibility, prerequisites (auto_commit=false), failure handling (retry), and the chat-vs-MCP distinction. Nothing an agent needs before invoking it is missing.

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% and each of the three parameters carries its own description (including the confirm gate and the default message), so the schema does the heavy lifting. The description adds workflow meaning around auto_commit on other tools but does not explain confirm, message, or project_id beyond the schema, so the baseline 3 applies.

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?

"WRITE ACTION — commit ALL pending changes in a DreamAgent project and push them to its private GitHub repo" names a specific verb (commit + push), the resource (pending changes in a project), and the destination. It is clearly distinguishable from siblings such as write_file, edit_file, delete_file, and list_commits, since it operates on already-pending changes rather than producing them.

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?

The description gives two concrete when-to-use cases: (a) grouping several MCP writes/deletes into one version by first using auto_commit=false, and (b) retrying a failed commit. It also states the negative case — chat-driven edits commit automatically, so this tool is only for direct file changes made through MCP — leaving essentially nothing to infer.

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.