Skip to main content
Glama
ilyautov

moysklad-mcp-ru

ms_write_raw

Create or update Moysklad data at any API endpoint using POST, PUT, or PATCH methods, with explicit write confirmation.

Instructions

Create or update data at ANY path, including paths not in the catalog.

Target API: https://dev.moysklad.ru/doc/api/remap/1.2/.

POST, PUT and PATCH only; requires confirm_write=true.

Args: method: POST, PUT or PATCH. path: full path beginning with '/'. host: host override; defaults to the service's default host. query: query-string parameters. body: JSON request body. confirm_write: must be true. Returns JSON: {"ok": true, "status", "data"} or the error envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
hostNo
pathYes
queryNo
methodYes
confirm_writeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already signal a mutating, open-world operation, and the description adds method restrictions, the mandatory confirm_write guard, and the return/error envelope. This gives an agent the key behavioral guardrails beyond what readOnlyHint/openWorldHint convey.

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?

The description is compact and front-loads the core purpose before a clear Args block. The only minor redundancy is repeating 'confirm_write must be true' in both the prose and the parameter list; otherwise it is lean.

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?

With an output schema present and 6 parameters, this description is largely complete: it names the target API, allowed methods, path format, host override, query/body, confirmation gate, and return envelope. It could add a note about auth or preconditions for arbitrary raw writes, but nothing essential is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it does: it explains method values, path format, host default, query/body JSON nature, and confirm_write requirement. Every parameter in the schema is accounted for with usable semantics.

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 opens with a specific verb and resource: 'Create or update data at ANY path, including paths not in the catalog.' This clearly distinguishes ms_write_raw from catalog-bound siblings and the sibling delete/read raw tools. The allowed methods (POST, PUT, PATCH) further pin down the operation.

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?

It gives concrete invocation constraints: POST/PUT/PATCH only, confirm_write must be true, and non-catalog paths are supported. However, it never explicitly says when to prefer this over ms_write_method, ms_call_method, or ms_delete_raw, leaving the routing decision to inference.

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