Skip to main content
Glama

HamroLink Business OS MCP Server

website.publish

Publishes all draft pages for a site and re-indexes businessState summary for visitor AI Chatbot RAG.

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": "website.publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesMongoDB Site ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world write operation. The description adds important behavioral scope beyond that: all draft pages are affected, not a selected page, and a businessState summary is re-indexed for the visitor AI Chatbot RAG. It does not state whether publishing is partial or atomic, but the added side-effect detail is valuable.

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?

The definition is a single front-loaded sentence with no filler. It states the action, scope, and secondary side effect without redundant explanation.

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 one-parameter write tool with annotations covering safety and a fully described schema, the definition covers what changes in the site and that a RAG index is refreshed. It does not explain failure modes or what the publish result looks like, but no output schema exists and those gaps are minor relative to the tool's complexity.

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 the only parameter is documented as a MongoDB Site ID. The description's 'for a site' aligns with siteId but adds no syntax, format, or validation detail beyond the schema. Baseline 3 is appropriate because the schema already carries parameter semantics.

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?

The description uses a specific verb ('Publishes') and resource ('all draft pages for a site'), plus a secondary effect ('re-indexes businessState summary'), so the agent can identify the action. It does not explicitly distinguish itself from workflow siblings like website.compile or website.verify, but the purpose is clear without reading 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 Guidelines2/5

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

The description implies usage by saying it publishes draft pages, but it gives no explicit when-to-use guidance, no preconditions, and no alternatives. An agent cannot tell from this definition whether to call website.publish, website.persist, or website.verify first in a publishing workflow.

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.