Skip to main content
Glama

kintsugi-exec

Run shell commands under Kintsugi's guard so dangerous actions are held before execution and every command is recorded in a tamper-evident audit log.

Instructions

Run a shell command guarded and recorded by Kintsugi. Use this instead of shelling out directly so dangerous commands are held and everything is logged to the tamper-evident audit log.

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": {
      "command": "<command>"
    },
    "name": "kintsugi-exec"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory (optional).
agentNoCalling agent name, e.g. 'qwen' or 'codex' (optional).
commandYesThe shell command to run.
sessionNoSession id for grouping in the timeline (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/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 and does disclose two real behavioral traits: dangerous commands are intercepted ('held') and all invocations are written to a tamper-evident audit log. However, it never says what 'held' means operationally (error, approval prompt, block?) or what the tool returns (stdout, stderr, exit code), which are the details an agent needs for a shell-execution tool.

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?

Two short sentences, the action first and the rationale second. No restated field names, no filler, nothing that could be cut.

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 four-parameter exec wrapper with no output schema, the description covers purpose, safety gating, and audit side effects. The main missing piece is outcome semantics — return shape and the held-command path — but the core is otherwise complete.

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%, so every parameter including cwd, agent, session, and command is already documented in the schema. The description adds no new meaning about how these interact, such as whether agent/session affect audit grouping at execution time.

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 ('Run a shell command') plus the two distinguishing traits that make it not a plain exec: guarded and recorded by Kintsugi. An agent knows exactly what the call does without opening the schema.

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?

Explicitly names the alternative it replaces ('Use this instead of shelling out directly') and gives the reason (dangerous commands held, everything logged). It stops short of stating when-not to use it or what to do if a command is held, so it falls just short of full routing guidance.

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

Deploy Server

Other Tools