Skip to main content
Glama

craft_write

Update a Craft space by running one approved write command at a time, such as creating documents or adding tasks and comments.

Instructions

Change a Craft space with one command, e.g. "documents create --title "Notes"", "tasks add --markdown "Call Sam"", "comments add …". Run "--help", or " --help", to see every command. The command is shown for approval before it runs. One command per call: a long command containing ";" is refused.

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": {
      "account": "<account>",
      "command": "<command>"
    },
    "name": "craft_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesWhich connected account (alias) to act as, e.g. "business".
commandYesThe write command to run, e.g. 'tasks add --markdown "Call Sam"'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does meaningful work: it discloses a human approval step before execution ("The command is shown for approval before it runs") and a hard input restriction (semicolon-containing commands are refused). It does not state irreversibility, permission requirements, or what happens on failure, so it stops short of full transparency.

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-loaded with purpose, then examples, then operational rules — every sentence carries information. The examples are slightly verbose and the trailing "comments add …" ellipsis is loose, but nothing is truly wasted.

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 a 2-parameter dispatcher with no annotations and no output schema, the description covers purpose, discovery, approval gating, and the key failure mode. What an agent can't learn here is the return shape or error behavior, though neither is strictly needed to invoke it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning about the `command` parameter beyond the schema: it shows multiple command families (documents, tasks, comments), explains the --help discovery path, and states the single-command/no-semicolon constraint. The `account` parameter is left to the schema.

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 opens with a specific verb and resource ("Change a Craft space with one command") and immediately grounds it in three concrete CLI examples, making the write/dispatch nature unmistakable and distinguishable from the read sibling. It does not explicitly name craft_read as the read alternative, which keeps it just short of a 5.

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?

It gives practical operating guidance — run "--help" or "<command> --help" for the command catalog, and one command per call — but offers no when-not guidance and never points to craft_read for queries. Usage context is implied by the examples rather than stated as routing rules.

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