Skip to main content
Glama

1ClickSiteAI

Check a change set

validate
Read-onlyIdempotent

Checks a change set against the site's rules without writing anything, and returns ok, or the problems the site found with the JSON pointer of each. Send the operations you would send to apply_change_set; read get_schema first for the fields of each op. Call it for a large or unusual change set, or after the site refused one and you want to check the corrected operations first. The result also says needs_confirmation when the change set deletes content or links to another website: ask your user before you apply such a change set. Do not call it for a small edit you can apply directly. It changes nothing and costs no credits.

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": {
      "operations": "<operations>",
      "siteId": "<siteId>"
    },
    "name": "validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite id from list_sites or create_site.
operationsYesOperations in the plugin's change-set format. Read get_schema first for the fields of each op.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, yet the description still adds value: it says nothing is written, no credits are consumed, errors come back with JSON pointers, and a needs_confirmation flag appears for deletions or external links with the instruction to ask the user. The only gap is that the success payload shape beyond 'ok' is left implicit, though there is no output schema to lean on.

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?

Sentences are front-loaded and each earns its place: what it does, how to prepare input, when to use, when not to, the confirmation nuance, and the zero-cost property. No repetition of the title or filler.

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

Completeness5/5

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

For a two-parameter validator with no output schema, the description covers prerequisites (get_schema), input contract (same operations as apply_change_set), return semantics (ok / problems with pointers / needs_confirmation), and cost. Nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so 3 is the floor, but the description adds genuinely useful meaning: the operations array is the same payload you would send to apply_change_set, and get_schema should be consulted first for per-op fields. That clarifies the nested-payload contract beyond the schema's own text.

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 states a concrete verb and resource ('Checks a change set against the site's rules without writing anything') plus the shape of the result ('ok, or the problems the site found with the JSON pointer of each'). It is unmistakably a dry-run validator, distinguishable from the sibling apply_change_set that it names.

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

Usage Guidelines5/5

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

Explicit when-to-use triggers are given ('a large or unusual change set, or after the site refused one'), an explicit exclusion ('Do not call it for a small edit you can apply directly'), and a prerequisite ('read get_schema first'). It also names the downstream tool (apply_change_set) whose input format this mirrors.

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