Skip to main content
Glama

Update a site

update-site
Idempotent

Changes the name or the address of one of your sites, or turns its alerts email on or off. Fields you leave out stay as they are. Site alerts need a paid plan. WPCore checks the site each morning and emails the user when it finds a new update, problem, plugin with no release in 2 years or production warning.

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": {
      "site": "<site>"
    },
    "name": "update-site"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe new address with http:// or https://.
nameNoThe new name.
siteYesThe UUID of the site.
summary_emailNoTrue turns on the site alerts email. False turns it off.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-readOnly, idempotent and non-destructive, so the description is free to add what they cannot: PATCH-style merge semantics ('fields you leave out stay as they are'), a plan-level prerequisite, and the fact that summary_email toggles an outbound digest. Missing only permission/error behavior for invalid URLs or names.

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 first sentence front-loads the full capability, and the merge rule follows immediately. The final sentence about daily checks and obsolete-plugin detection is longer than strictly needed, but it does justify the summary_email parameter rather than being pure filler.

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?

For a 4-parameter mutation tool with no output schema, the definition covers purpose, merge semantics, the plan prerequisite and the meaning of the boolean flag. It does not describe success/failure responses, though with no output schema that is a minor gap.

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% and each of the four parameters is already described in the schema, so the baseline applies. The description adds the partial-update rule and explains what the alerts email actually is, but gives no extra syntax or validation detail beyond the schema's 'http:// or https://' note.

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 (changes) with the exact mutable fields (name, address, alerts email) and the resource (a site). An agent can immediately separate this from create-site, delete-site or get-site without inspecting the schema.

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

Usage Guidelines4/5

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

Gives a real usage rule — 'Fields you leave out stay as they are', which tells the agent this is a partial update and it need not resend existing values — plus a prerequisite that site alerts require a paid plan. It stops short of naming alternatives or exclusions, so it falls just below a 5.

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