Skip to main content
Glama
agent-action-gate

agent-action-gate

by dwadlane

Propose an action

propose_action
Idempotent

Submit a proposed CRM or clinic change for review: get an action ID, plain-English preview, and approval status before any data is modified.

Instructions

Ask to make a change. Nothing changes yet: you get back an action id and a plain-English preview of exactly what would change, and whether it is auto-approved, waiting for a person, or blocked. Available actions: crm.update_contact: Change a CRM contact's name, email, phone or company. | crm.create_deal: Create a deal for a contact. The value is in dollars. | crm.update_deal_stage: Move a deal to another stage (lead, quoted, won, lost). | crm.delete_contact: Delete a contact from the CRM. | clinic.update_patient: Change a patient's phone, email, address or date of birth in the clinic records. | clinic.add_note: Add a note to a patient's record.

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": {
      "kind": "<kind>",
      "params": "<params>"
    },
    "name": "propose_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesThe action name, for example crm.update_contact
paramsYesThe details for that action
reasonNoWhy the agent wants this change
proposed_byNoagent
idempotency_keyNoReuse the same key when retrying so the change is never made twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Adds real behavioral value beyond annotations: the approval tri-state outcome and the plain-English preview of exactly what would change. The annotations already carry the safety profile (readOnlyHint=false, idempotentHint=true), and the description doesn't explain retry semantics beyond the schema's idempotency_key note or say what the preview contains for destructive actions like crm.delete_contact.

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 the key semantics ('Ask to make a change. Nothing changes yet') before the catalog. The pipe-separated action list is dense but each entry earns its place since kind has no enum; a bulleted layout would scan better than the running paragraph.

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?

No output schema, and the description compensates by describing the return (action id, preview, approval state). For a write-path tool with nested params this is close to complete; the main gap is guidance on what to do with the returned action id (approve/execute/reject) and any retry caveats.

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 80%, so the schema already documents kind, params, reason, proposed_by and idempotency_key. The description's added value is the enumerated catalog of allowed kind values, which is important because the schema defines kind as a bare string with no enum — but that catalog is the only parameter-level enrichment.

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 (propose/ask to make a change) and immediately clarifies the essential distinction: 'Nothing changes yet' — establishing this as the preview step rather than the executor. An agent can separate it from execute_action/approve_action from the description alone.

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

Usage Guidelines4/5

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

Clear context for use: call this before any change, and you receive an action id plus approval status (auto-approved, waiting for a person, blocked). It does not explicitly name the follow-up siblings (approve_action, execute_action) or state when to skip proposing, so an agent must infer the next step from sibling names.

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