Skip to main content
Glama
truthgate
by ALH477

trvthnvke_apply_edit

Apply structured README edits that automatically revert when repository gates fail, unless forced, keeping documentation changes verifiable.

Instructions

Apply structured README edits. Refuses to leave the tree failing gates unless force=true.

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": {
      "ops": "<ops>"
    },
    "name": "trvthnvke_apply_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
docNoREADME.md
opsYes
forceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 it does disclose one important trait: edits are validated against 'gates' and rejected rather than leaving the tree failing, with force as an override. It omits what happens on rejection (rollback? partial application?), what the gates check, and what an error response looks like.

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 short sentences with no waste, and the safety constraint is front-loaded right after the purpose. The jargon 'gates' and 'tree' is left undefined, which costs a bit of clarity for a terse description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, and zero schema description coverage, the description does too little: the structure of the required ops payload and the failure/rollback semantics are the very things an agent needs before calling it. Only the force override is adequately covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 3 parameters, and the description only clarifies 'force' (bypassing gate failures). The required 'ops' array of untyped objects — the core of the tool — gets no format or example beyond the word 'structured', and 'doc' is never mentioned.

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 ('Apply') and resource ('structured README edits'), so the agent knows it mutates a document with pre-formed edit operations. It does not distinguish itself from the sibling trvthnvke_propose_edit, which is the obvious alternative for the same resource.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of propose_edit as the drafting counterpart, so the apply-vs-propose choice must be inferred from names alone. The 'unless force=true' clause describes a guard behavior rather than a selection criterion.

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