Skip to main content
Glama
sandraschi

Windows Operations MCP

by sandraschi

winops_json_patch

Idempotent

Deep-merge new data into existing JSON files, creating the file when missing. Applies nested updates to specified keys.

Instructions

Deep-merge patch data into an existing JSON file (creates file if missing).

Return Format

{"success": bool, "path": str, "updated_keys": [str]}

Examples

patch(path="D:\\config\\app.json", data={"logging": {"level": "DEBUG"}})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesDict of keys to deep-merge into the existing file.
pathYesJSON file to patch.
indentNoIndentation spaces.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare idempotent and non-destructive behavior. The description adds that the file is created if missing, which is not in annotations. It also provides the return format (success, path, updated_keys) useful for agents, though also present in the output schema. No contradiction.

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?

The description is concise, with a single sentence for the main purpose, followed by a compact return format and a short example. No unnecessary words or repetition.

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?

Given the output schema and annotations, the description is sufficient for an agent to understand the tool's purpose, parameters, and behavior. The inclusion of an example and return format rounds it out. Lacks explicit error handling or prerequisites, but the simple nature and coverage make it adequate.

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 100% with clear descriptions for each parameter (data, path, indent). The description adds an example but no additional semantic meaning beyond the schema. The high coverage means the schema carries the burden, so baseline 3 is appropriate.

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 clearly states a specific action ('Deep-merge patch data') on a specific resource ('existing JSON file'), and notes 'creates file if missing', adding scope. This distinguishes it from siblings like read/write/validate via the 'deep-merge' terminology.

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

Usage Guidelines3/5

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

The description does not explicitly state when to use this tool over alternatives like winops_json_write. It implies usage via 'deep-merge' and 'patch', but there is no direct comparison or exclusion criteria. The example hints at partial updates but lacks explicit guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandraschi/windows-operations-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server