Skip to main content
Glama

Publish reply

publish_reply
Destructive

Publishes a reply as the business owner's public response on Google, replacing any existing owner reply. Takes a draft or text; confirming this call is recorded as the approval. With the approval workflow, only drafts approved by a teammate are published. Demo reviews are simulated; CSV and Facebook reviews can't be answered through the API.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "publish_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoReply text; overrides the draft text
draft_idNoDraft to publish
review_idNoReview to answer (uses its draft if text is empty)

Output Schema

NameRequiredDescriptionDefault
textYes
statusYes
draft_idNo
review_idYes
simulatedNoTrue for demo locations: nothing was posted to Google
reply_stateNo
published_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing what is destroyed (any existing owner reply), that the confirmation itself constitutes the recorded approval, and that a teammate-approval gate may block publication. It also flags data-source limits (simulated demo reviews, unanswerable CSV/Facebook reviews), which annotations cannot convey.

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?

Four tight sentences, each carrying distinct information: the action and its destructive effect, the approval semantics, the workflow constraint, and the platform limitations. No repetition of schema or annotation content.

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?

Return values are covered by the output schema and the destructive/approval behavior is well disclosed. The remaining gap is what happens when neither text nor draft_id is supplied, and that review_id is practically mandatory despite the empty required list.

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 parameter already documents its role, including that text overrides draft text and that review_id falls back to its draft. The description adds only the high-level framing "takes a draft or text" and does not clarify that review_id is effectively required despite zero required parameters.

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 concrete verb and resource ("Publishes a reply as the business owner's public response on Google") plus the key side effect ("replacing any existing owner reply"). The opening also distinguishes the live-publish action from drafting siblings such as save_reply_draft by noting it takes a draft or text and records approval.

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 clear conditions and exclusions: approval workflow means only teammate-approved drafts publish, and demo/CSV/Facebook reviews cannot be answered via the API. It does not explicitly name a sibling alternative (e.g., save_reply_draft for unapproved edits), so guidance is strong but not fully comparative.

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