Skip to main content
Glama

EDNA — On-Device Human Sensing for AI

lmn_codex_patch

Wendet einen Unified-Diff-/Patch auf ein Code-Projekt an.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lmn_codex_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
diffNo
nameNo
patchNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / diff / description
      Removed value: -""
    • removedInput schema / properties / name / description
      Removed value: -""
    • addedInput schema / properties / patch
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / project
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / rationale
      Removed value: -{
      -  "description": "",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "rationale",
      -  "diff"
      -]New value: +[]
  2. Added

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a mutation but says nothing about whether the patch is validated, what happens on conflict or partial failure, whether changes are reversible, or which parameter selects the target.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single, front-loaded sentence with no padding, which is structurally clean. However, the brevity reflects under-specification rather than economy, so it does not earn a high score.

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 write-oriented tool with no annotations, no output schema, and four wholly undocumented parameters, the description leaves too much unresolved for confident invocation. It is barely adequate for a human reader and insufficient for an autonomous agent.

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% and none of the four parameters are required, yet the description does not explain the distinction between 'diff' and 'patch' (two seemingly overlapping inputs) or what 'name' and 'project' refer to. It only weakly hints at the diff/patch and project concepts without resolving the ambiguity an agent would face.

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 German description names a specific verb and resource: applying a unified diff/patch to a code project. An agent knows what operation it performs, but there is no differentiation from adjacent siblings such as lmn_codex_evolve or lmn_codex_run, which may also modify project code.

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 when-to-use guidance: no prerequisites (does the project need to exist first?), no exclusions, and no pointer to an alternative for editing code without a diff. The single sentence only restates the operation.

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.