Skip to main content
Glama

data_json_patch

Read-only

Apply up to 100 RFC 6902 operations transactionally to supplied JSON, with strict pointers, safe object properties and bounded intermediate results. FREE during validation. No key, credits, wallet or preparation needed. Supply your task in input. Existing source and input limits apply.

Input Schema

NameRequiredDescriptionDefault
inputYes

Output Schema

NameRequiredDescriptionDefault
dataNo
scopeYes
documentExistsYes
operationsAppliedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / maxPriceMicroUsd
      Removed value: -{
      -  "description": "Optional legacy field; ignored in free mode.",
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedInput schema / properties / requestId
      Removed value: -{
      -  "description": "Optional legacy field; ignored in free mode.",
      -  "type": "string"
      -}
  2. Changed5 schema fields changed
    • changedInput schema / properties / maxPriceMicroUsd / description
      Previous value: -"Explicit maximum new debit; 0 means recovery only."New value: +"Optional legacy field; ignored in free mode."
    • removedInput schema / properties / maxPriceMicroUsd / maximum
      Removed value: -999999999999
    • changedInput schema / properties / requestId / description
      Previous value: -"Persist the ID returned by agent_utilities_prepare. Reuse after uncertainty."New value: +"Optional legacy field; ignored in free mode."
    • removedInput schema / properties / requestId / pattern
      Removed value: -"^\\d{13}_[A-Za-z0-9_-]{16,80}$"
    • changedInput schema / required
      Previous value: -[
      -  "input",
      -  "requestId",
      -  "maxPriceMicroUsd"
      -]New value: +[
      +  "input"
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is covered. Beyond that the description adds real traits: operations are applied transactionally (atomic), pointers are strict, object properties are handled safely, intermediate results are bounded, and the cap is 100 operations. The trailing 'Existing source and input limits apply' is vague and points at undocumented constraints, keeping this short of a 5.

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?

Purpose is correctly front-loaded, but two of the five sentences are promotional ('FREE during validation', 'No key, credits, wallet or preparation needed') and earn little space for an agent selecting a tool. A tighter sentence or two would carry the same load.

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

Completeness3/5

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

An output schema exists, so return-value explanation is not required, and the schema fully encodes the patch operation union. What is missing is failure behavior: the description asserts transactionality but never says what the agent gets back when a test op fails or a pointer is invalid, and it never differentiates itself from the neighboring data_json_* tools. Adequate, but with visible gaps.

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 0%, so the description must compensate. Citing RFC 6902 is genuinely informative because it implies the op/path/value/from shape the schema encodes, and the 100-operation cap mirrors maxItems. However, 'Supply your task in input' adds nothing about the nested data/patch structure, so compensation is only partial.

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+resource: apply RFC 6902 patch operations to supplied JSON. The RFC reference pins down exactly what the operation set is, and it is clearly distinguishable from siblings like data_json_diff, data_json_canonical, and data_json_pointer.

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?

The description never says when to reach for this tool instead of data_json_diff, data_json_pointer, or contracts_jsonschema_validate. The eligible sentences ('FREE during validation', 'No key, credits, wallet or preparation needed') are pricing/access notes, not usage guidance, so the agent gets no routing or prerequisite context.

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.

Resources