Skip to main content
Glama
grammy-mcp
by louietyj

removeBusinessAccountProfilePhoto

Destructive

Removes the current profile photo from a managed business account and optionally deletes the public photo. Requires the can_edit_profile_photo business bot right and returns True on success.

Instructions

Removes the current profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.

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": {
      "business_connection_id": "<business_connection_id>"
    },
    "name": "removeBusinessAccountProfilePhoto"
  }
}

Input Schema

NameRequiredDescriptionDefault
is_publicNoPass True to remove the public photo, which is visible even if the main photo is hidden by the business account's privacy settings. After the main photo is removed, the previous profile photo (if present) becomes the main photo.
business_connection_idYesUnique identifier of the business connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, so the bar is lower, and the description still contributes an auth requirement and a return-value contract ("Returns True on success"). It does not explain irreversibility or what the account shows after removal, but the schema's is_public description covers the fallback photo 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?

Three short sentences with zero filler, ordered as action, prerequisite, and return value. Nothing could be removed without losing information.

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 two-parameter destructive tool, the description covers the action, scope, permission requirement, and return value, while annotations cover safety and the schema covers parameter nuances. Nothing an agent needs to invoke it correctly is missing, and no output schema is required given the stated True-on-success behavior.

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 description coverage is 100%, so both parameters are already documented in the schema, including the public/hidden photo distinction and the fallback-to-previous-photo behavior. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 names a specific verb and resource ("Removes the current profile photo") and scopes it to "a managed business account," which functionally separates it from removeMyProfilePhoto and from setBusinessAccountProfilePhoto. An agent can identify the operation and target 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 Guidelines4/5

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

It states a concrete prerequisite ("Requires the can_edit_profile_photo business bot right") and limits the target to managed business accounts, which gives clear context for when the tool is applicable. It stops short of naming alternatives or stating exclusions, so it does not reach a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools