Skip to main content
Glama

HamroLink Business OS MCP Server

site.update_layout

Destructive

Updates global site-wide header and footer sections (navigation menu, logo, footer links, copyright) rendered across all pages.

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": {
      "siteId": "<siteId>"
    },
    "name": "site.update_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoUpdated site name
footerNoArray of section objects for global footer
headerNoArray of section objects for global header/navbar
siteIdYesMongoDB Site ID
companyDetailsNoGlobal company contact details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description is not required to establish that this is a write. It does add real context beyond the annotations by stating the blast radius ('rendered across all pages'), but it omits the most important behavior: whether the header/footer arrays replace existing sections wholesale or merge with them, which is exactly what makes a destructive update risky.

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?

A single front-loaded sentence with no filler; the scope qualifier ('global site-wide') comes before the element list, so the reader gets the most decision-relevant information first. Every clause earns its place.

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?

For a destructive, open-world update with five parameters (including nested arrays) and no output schema, the description covers the what and the where but not the how: replace-versus-merge behavior on header/footer and the effect on existing sections are unstated. Adequate as a summary, but not complete enough for an agent to call it confidently on a live site.

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 100%, so the schema already documents siteId, name, header, footer and companyDetails, making 3 the baseline. The description's element list (navigation menu, logo, footer links, copyright) loosely maps onto header/footer content and adds slight meaning, but it adds nothing about array shape, replacement semantics, or whether siteId is the only required field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (updates) and resource (global site-wide header and footer sections) and enumerates the concrete elements touched (navigation menu, logo, footer links, copyright). It does not name or contrast with the close siblings site.update_header and site.update_footer, which appear to do overlapping work, so the agent must infer the distinction.

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 phrase 'global site-wide ... rendered across all pages' implies use when the change should apply everywhere, which is a useful implicit cue versus page-level edits. However, there is no explicit when-to-use/when-not guidance and no mention of when to prefer the narrower site.update_header or site.update_footer tools.

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.