Skip to main content
Glama

Samuelz® Maps

Bewertungsantwort vorbereiten

prepare_business_profile_reply
Idempotent

Prepare the user's exact reply to one Google review, without publishing. First read get_business_profile_review; copy its reviewId and expectedVersion unchanged. text is the final reply, not a generation prompt (maximum 4096 UTF-8 bytes). A changed review/reply blocks preparation. Use this for a review response, not a new post or profile-field edit. Requires explicit user instruction, separate marketing:prepare consent and current workspace Owner Marketing-write authority. Copy the existing connectionId from get_maps_setup → google.connections. Keep requestKey (UUID) and all input identical on retry; changed source versions require reread and renewed intent. Returns operationId; show_maps_approval presents the exact human card. Only its human approval publishes once; preparation never publishes and cannot approve itself. Never repeat an attempted or ambiguous provider effect.

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": {
      "connectionId": "<connectionId>",
      "requestKey": "<requestKey>",
      "reviewId": "<reviewId>",
      "expectedVersion": "<expectedVersion>",
      "text": "<text>"
    },
    "name": "prepare_business_profile_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesFinal user-requested review reply, nonblank and at most 4096 UTF-8 bytes; never a generation prompt.
reviewIdYesExact reviewId from list_business_profile_reviews or get_business_profile_review for this connection.
requestKeyYesStable caller-generated UUID for this exact preparation intent. Reuse only with identical input; never change it to replay an uncertain effect.
connectionIdYesExisting Google Business Profile connectionId from get_maps_setup → google.connections; never a location ID or another workspace connection.
expectedVersionYesExact version from get_business_profile_review; a changed review or existing reply requires reread and renewed intent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / connectionId / description
      Added value: +"Existing Google Business Profile connectionId from get_maps_setup → google.connections; never a location ID or another workspace connection."
    • addedInput schema / properties / expectedVersion / description
      Added value: +"Exact version from get_business_profile_review; a changed review or existing reply requires reread and renewed intent."
    • addedInput schema / properties / requestKey / description
      Added value: +"Stable caller-generated UUID for this exact preparation intent. Reuse only with identical input; never change it to replay an uncertain effect."
    • addedInput schema / properties / reviewId / description
      Added value: +"Exact reviewId from list_business_profile_reviews or get_business_profile_review for this connection."
    • addedInput schema / properties / text / description
      Added value: +"Final user-requested review reply, nonblank and at most 4096 UTF-8 bytes; never a generation prompt."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, and closed-world, but the description still adds substantial context the annotations cannot: preparation never publishes, only a single human approval via show_maps_approval publishes, the tool cannot approve itself, and changed review/reply versions block preparation. Retry semantics ('Keep requestKey identical on retry... Never repeat an attempted or ambiguous provider effect') are genuinely useful behavioral guidance beyond idempotentHint=true, though the authorization clauses are dense and partly restated.

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?

Front-loaded with the core action and the read-then-prepare dependency, and every clause carries operational weight. It is somewhat overpacked, with mild redundancy between 'preparation never publishes and cannot approve itself' and 'Only its human approval publishes once,' which could be merged without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-publishing preparation tool with no output schema, it supplies everything needed: all five required inputs have sources, the return value (operationId) is named, and the publishing hand-off to show_maps_approval is spelled out. Nothing an agent must know to call it correctly is left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description mostly echoes schema facts about reviewId, expectedVersion, connectionId, and the 4096-byte text limit. It adds real value by framing these as a call sequence (read the review first, copy IDs unchanged, pull connectionId from get_maps_setup → google.connections), which the per-field descriptions do not express as an ordered contract.

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 and resource ('Prepare the user's exact reply to one Google review, without publishing') and immediately scopes what it is not: 'Use this for a review response, not a new post or profile-field edit,' which separates it from prepare_business_profile_post and prepare_business_profile_change. An agent can route between the prepare_* siblings without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit prerequisite sequence ('First read get_business_profile_review; copy its reviewId and expectedVersion unchanged'), names the alternatives to avoid, and states gating conditions (explicit user instruction, separate consent, Owner Marketing-write authority). It also routes the follow-up step to show_maps_approval, so the when/when-not/next-step picture is complete.

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