Skip to main content
Glama

Remove a Google Business photo

remove_gbp_photo
DestructiveIdempotent

Remove a photo from the listing (mediaId from list_gbp_photos). Cannot be undone; confirm with the user first.

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": {
      "accountId": "<accountId>",
      "mediaId": "<mediaId>"
    },
    "name": "remove_gbp_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaIdYesId from the list.
accountIdYesGoogle Business account id from list_accounts.
locationIdNoWhich location, for accounts with several. Omit for the one selected in Ignix.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's job is to add context – and it does, by stating the removal 'Cannot be undone' and requiring user confirmation, which is the key workflow constraint for a destructive call. It leaves retry/idempotency behavior to the schema field, so it isn't fully self-contained on behavior.

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?

Two short clauses, no filler; the destructive warning is placed immediately after the purpose so it is read before any argument construction begins.

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 4-parameter destructive tool with no output schema and full annotation coverage, the description supplies the two things that matter most: sourcing of mediaId and the irreversibility/confirmation requirement. Only minor gaps remain (e.g., what happens with the default location) that the schema already handles.

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%, so mediaId, accountId, locationId and idempotencyKey are all documented inline. The description only echoes that the mediaId comes from list_gbp_photos, slightly sharpening the schema's vaguer 'Id from the list' – marginal added meaning, consistent with the baseline 3.

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 and resource ('Remove a photo from the listing') and names list_gbp_photos as the source of the mediaId, which lets an agent separate it from add_gbp_photo and the listing getters. It stops short of explicitly naming the additive sibling as the alternative, but the operation itself is unambiguous.

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 actionable preconditions: the id must come from list_gbp_photos and the user must confirm before invoking, plus the fact that the action is irreversible. It doesn't spell out when-not-to-use (e.g., use a photo update instead of delete), so it's clear context rather than full when/when-not routing.

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