Skip to main content
Glama

Samuelz® Marketing

Beitrag mit Bild vorbereiten

prepare_business_profile_post
Idempotent

Prepare one Google Business Profile post with the final summary, languageCode, link and exactly one imageAssetId or imageUrl. imageAssetId comes from the private image library; imageUrl must be an authorized HTTPS source. Supply evidence of the situation, source, image rights and novelty. actionType is BOOK or LEARN_MORE (default); the human card displays the exact button and attributed link. Use this for an immediately reviewed new post, not a profile-field edit or a review reply. For an existing authored draft use get_business_profile_draft then prepare_business_profile_draft, preserving its separate lifecycle. 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>",
      "summary": "<summary>",
      "languageCode": "<languageCode>",
      "link": "<link>",
      "evidence": "<evidence>"
    },
    "name": "prepare_business_profile_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkYesFinal HTTPS destination for the post button; no credentials or custom port. The card shows the resolved attributed link.
summaryYesFinal post text, 1–1500 characters after trimming; the human reviews this exact summary.
evidenceYesEvidence for the exact post: situation, source URL, image rights and novelty; all fields are required and human reviewed.
imageUrlNoAuthorized HTTPS source image URL. Supply exactly one of imageUrl or imageAssetId, with image rights evidence.
actionTypeNoHuman-reviewed post button: BOOK or LEARN_MORE, default LEARN_MORE.LEARN_MORE
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.
imageAssetIdNoExisting private-library asset ID from list_social_images or upload_social_image; use instead of imageUrl, never both.
languageCodeYesLanguage of the final post text; choose the matching supported two-letter code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • addedInput schema / properties / actionType / description
      Added value: +"Human-reviewed post button: BOOK or LEARN_MORE, default LEARN_MORE."
    • 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 / evidence / description
      Added value: +"Evidence for the exact post: situation, source URL, image rights and novelty; all fields are required and human reviewed."
    • addedInput schema / properties / evidence / properties / imageRights / description
      Added value: +"Documented authority to use this exact image, 15–500 characters; no invented rights."
    • addedInput schema / properties / evidence / properties / novelty / description
      Added value: +"What is new relative to existing posts, 15–300 characters."
    • addedInput schema / properties / evidence / properties / situation / description
      Added value: +"Concrete current situation that justifies this post, 15–300 characters."
    • addedInput schema / properties / evidence / properties / sourceUrl / description
      Added value: +"HTTPS evidence source for the post claims; no credentials or custom port."
    • addedInput schema / properties / imageAssetId / description
      Added value: +"Existing private-library asset ID from list_social_images or upload_social_image; use instead of imageUrl, never both."
    • addedInput schema / properties / imageUrl / description
      Added value: +"Authorized HTTPS source image URL. Supply exactly one of imageUrl or imageAssetId, with image rights evidence."
    • addedInput schema / properties / languageCode / description
      Added value: +"Language of the final post text; choose the matching supported two-letter code."
    • addedInput schema / properties / link / description
      Added value: +"Final HTTPS destination for the post button; no credentials or custom port. The card shows the resolved attributed link."
    • 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 / summary / description
      Added value: +"Final post text, 1–1500 characters after trimming; the human reviews this exact summary."
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare non-destructive, idempotent and closed-world, but the description goes well beyond them: consent and authority requirements, the source of connectionId, requestKey retry invariants, the rule that changed source versions require reread and renewed intent, and the fact that preparation never publishes and cannot self-approve. It also states that it returns an operationId and that show_maps_approval presents the human card, which is critical sequencing information for a mutation.

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 prepare action and identity/evidence requirements before operational rules, and no sentence is filler. It is dense and long for a single description, with several rules compressed into clauses (e.g. the retry/requestKey sentence), which costs a little readability but is justified for a high-risk publishing-adjacent mutation.

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?

With nine parameters, a nested evidence object and no output schema, the description covers what an agent needs: input composition, the exactly-one image rule, authority prerequisites, the returned operationId and the downstream human approval step. Nothing material for correct invocation appears to be missing.

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 would be 3. The description still adds cross-parameter meaning the schema cannot express: provenance of imageAssetId (private image library from list_social_images or upload_social_image) versus an authorized HTTPS imageUrl, and the instruction to copy connectionId from get_maps_setup → google.connections rather than a location ID. The API-level enum and length constraints themselves add little beyond the schema.

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?

The first sentence gives a specific verb and resource ('Prepare one Google Business Profile post') and enumerates the required content shape, including the exactly-one-of imageAssetId/imageUrl constraint. It then explicitly distinguishes the tool from profile-field edits, review replies and authored drafts, so an agent can identify it without opening 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 Guidelines5/5

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

Explicit when-to-use ('an immediately reviewed new post') and when-not ('not a profile-field edit or a review reply'), plus a named alternative path for existing drafts: get_business_profile_draft then prepare_business_profile_draft. Prerequisites (explicit user instruction, marketing:prepare consent, Owner Marketing-write authority) are spelled out.

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