Skip to main content
Glama

Draft a change

propose_automation
Read-only

Turn a sentence into a proposal for a new rule (id null) or a change to one, or answer a question about it. Returns text, at most one question, the names Hinto could not resolve, a draft for a new rule, edit operations, and suggestions. For a new rule that is not saved yet, pass its current draft (name and definition, with card ids) with each follow-up, such as the answer to Hinto's question; the reply's draft is then the whole updated draft. Saves nothing: apply the draft with create_automation or the edits with update_automation once the person agrees.

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": {
      "id": "<id>",
      "message": "<message>"
    },
    "name": "propose_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
draftNoA new rule's open, unsaved draft. Only with id null.
messageYes
transcriptNo
expectedVersionNoThe rule version your change starts from (get_automation's version). A stale one is refused with version_conflict and the current version.

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?

With readOnlyHint=true and openWorldHint=false already declared, the description still adds substantial value: it enumerates the response contents (text, at most one question, unresolved names, draft, edit operations, suggestions) and states the no-write guarantee plus the handoff path to the write tools. It does not cover failure modes such as stale versions or unresolvable references beyond the returned names list, which keeps it short of a 5.

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?

It is front-loaded with the core purpose, then the return shape, then the draft-chaining rule, then the persistence boundary — a logical order with no filler sentences. The middle sentences are dense and nested with parentheticals, which costs a little readability but each one carries distinct 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 a tool with a deeply nested draft schema, no output schema, and five parameters, the description supplies the essentials: the mode switch on id, the return shape, and the fact that nothing is saved. The omission of the transcript parameter's role in multi-turn context is the main remaining gap.

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 only 40% across 5 parameters, so the description must compensate, and it does explain the two semantically tricky ones well: id null means new rule, and the draft is the 'open, unsaved draft' that must be resent each turn. However, it never mentions transcript or expectedVersion (version conflicts are only documented in the schema), leaving two parameters to the structured fields alone.

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?

The description states a specific verb and resource — 'Turn a sentence into a proposal for a new rule (id null) or a change to one, or answer a question about it' — covering all three modes in one sentence. It explicitly contrasts with create_automation and update_automation ('Saves nothing: apply the draft with...'), so an agent can distinguish it from its nearest siblings without reading either 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?

It gives explicit when-to-use (drafting a proposal or answering a question about a rule), when-not (this tool does not persist anything), and the concrete follow-up routing: call create_automation or update_automation once the person agrees. It also specifies the multi-turn protocol — resend the unsaved draft with each follow-up so the reply's draft is the complete updated draft.

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