Skip to main content
Glama

design_commit

Commit the current design round to git history as one commit, return its hash, and record a one-line summary so the change can be found later.

Instructions

Commit the current design round to its git history (one commit per round) and return the commit hash. Summarize what changed in one line so the designer can find it later.

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": {
      "summary": "<summary>"
    },
    "name": "design_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
summaryYesOne-line summary of this round
projectIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two useful traits: one commit is created per round, and the commit hash is returned. It says nothing about permissions/auth requirements, whether it fails on a dirty or unchanged round, or whether history is rewritable — meaningful gaps for a mutation tool.

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?

Two compact sentences, front-loaded with the action and backed by the rationale for the summary field. There is mild overlap between 'Summarize what changed in one line' and the schema's field description, but nothing wasteful.

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?

There is no output schema, and the description correctly covers the return value (commit hash). It is still incomplete for a git-mutating tool: no statement of preconditions, failure modes, or the role of projectId, which an agent would need to call it safely and correctly.

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 50%. The description adds real meaning for 'summary' by explaining its purpose (findability later), beyond the schema's 'One-line summary of this round'. However, 'projectId' is undocumented in both schema and description, and there is no hint about what happens when it is omitted (current project?).

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?

States a specific verb and resource: commit the current design round to git history, with the 'one commit per round' constraint and a named return value (commit hash). It is clear what the tool does, though it does not explicitly contrast itself with nearby siblings like design_patch or design_export.

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?

Usage is only implied by 'current design round' — an agent can infer this is the checkpoint/save step, but there is no explicit when-to-use, when-not-to-use, or prerequisite (e.g. whether the round must first be patched/applied).

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