Skip to main content
Glama
grammy-mcp
by louietyj

setBusinessAccountProfilePhoto

Destructive

Set or change a managed business account’s profile photo, optionally making it public, and return success when the business bot has profile-photo edit permission.

Instructions

Changes the 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>",
      "photo": "<photo>"
    },
    "name": "setBusinessAccountProfilePhoto"
  }
}

Input Schema

NameRequiredDescriptionDefault
photoYesThe new profile photo to set
is_publicNoPass True to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo.
business_connection_idYesUnique identifier of the business connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the replacement semantics are covered structurally. The description adds context that the annotations do not provide: the required bot right and the fact that True is returned on success. It stops short of saying what happens to an existing photo or to the hidden/public photo variants, so it earns a 4 rather than a 5.

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, front-loaded with the action, then the prerequisite, then the return value. Every sentence carries information and nothing is repeated from the schema or annotations.

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 mutation tool with a nested object parameter, no output schema, and a destructive hint, the description covers the auth prerequisite and the return value. The only real gap is what happens to the previously set photo and how is_public interacts with existing privacy settings, which leaves it just short of complete.

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%, including the nested InputProfilePhoto and the is_public explanation about a single public photo, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond referencing 'profile photo', which matches the baseline of 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?

The description names a specific verb and resource: it changes the profile photo of a managed business account. That is clear enough to separate the tool from removeBusinessAccountProfilePhoto or setMyProfilePhoto, but the description does not explicitly name an alternative, so it cannot be read as 5-level differentiation.

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

Usage Guidelines3/5

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

The description gives a precondition rather than routing guidance: it states that the can_edit_profile_photo business bot right is required. It does not say when to choose this tool over the sibling removal/photo tools or what happens to the existing photo, so usage is implied rather than spelled out.

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