Skip to main content
Glama

HamroLink Business OS MCP Server

site.update_header

Destructive

Targeted helper to update site header/navbar (logo, navigation links, CTA button, phone, email) without touching the rest of the site.

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_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
logoNoLogo configuration object with url, alt, text
emailNoTop bar or contact email
phoneNoTop bar or contact phone number
headerNoComplete header sections array (optional)
siteIdYesMongoDB Site ID
addLinkNoQuick link to append to existing navbar, e.g. { label: 'Blog', href: '/blog' }
navLinksNoArray of navigation links [{ label: string, href: string }]
ctaButtonNoCTA button configuration { text: string, href: string }
removeLinkNoLabel or href of link to remove from navbar (e.g. '/privacy' or 'Terms')

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, readOnlyHint=false and openWorldHint=true; the description adds useful scope context by framing this as a partial update that leaves the rest of the site intact. However, it does not warn that supplying 'header' overwrites the complete sections array, which is the main destructive behavior an agent needs to know about.

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?

A single front-loaded sentence with the scope constraint placed at the end for emphasis, and no filler. Nothing is redundant, though it is thin enough that it could afford one more clarifying clause.

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 nine-parameter destructive mutation with nested objects and no output schema, the definition correctly avoids over-promising a return value and conveys the limited scope of the change.

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 all nine parameters, and the description merely mirrors a subset of them (logo, links, CTA, phone, email). It adds no meaning about the interaction between 'navLinks', 'addLink', 'removeLink' and the replacing 'header' array, which is where selection errors are most likely.

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+resource ('update site header/navbar') and enumerates the editable elements (logo, navigation links, CTA button, phone, email), which lets an agent distinguish it from the footer/layout/theme updaters. It does not name or differentiate itself from the overlapping sibling 'update_navbar', so it stops short of a 5.

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 'targeted helper ... without touching the rest of the site' implies the right context (isolated header tweaks rather than whole-site edits), but it never states when to prefer 'update_navbar', 'site.update_layout', or 'site.update_details', nor any prerequisites. Usage is implied rather than prescribed.

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.