Skip to main content
Glama
grammy-mcp
by louietyj

setBusinessAccountGiftSettings

Destructive

Updates gift privacy settings for a managed business account, including whether to show a gift button and which gift types are accepted; requires can_change_gift_settings permission.

Instructions

Changes the privacy settings pertaining to incoming gifts in a managed business account. Requires the can_change_gift_settings 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>",
      "show_gift_button": "<show_gift_button>",
      "accepted_gift_types": "<accepted_gift_types>"
    },
    "name": "setBusinessAccountGiftSettings"
  }
}

Input Schema

NameRequiredDescriptionDefault
show_gift_buttonYesPass True, if a button for sending a gift to the user or by the business account must always be shown in the input field
accepted_gift_typesYesTypes of gifts accepted by the business account
business_connection_idYesUnique identifier of the business connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value on top of that by naming the specific business bot right required and by stating "Returns True on success," an output fact absent from the schema. It still does not say what existing settings are overwritten or whether the change is reversible, which is the main remaining gap for a destructive tool.

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: the operation comes first, the authorization requirement second, the return value last. Every sentence earns its place.

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

Completeness3/5

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

The destructive nature is flagged and the permission gate is stated, which covers the essentials for invocation. However, accepted_gift_types is a nested object whose internal structure is not described in either the schema or the description, leaving the agent without enough information to construct that argument correctly.

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 all three parameters carry their own descriptions and the baseline is 3. The description adds only the framing that these are privacy settings, without clarifying semantics the schema lacks, such as what happens to gift acceptance when show_gift_button is false.

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 uses a specific verb ("Changes") with a precisely bounded resource ("privacy settings pertaining to incoming gifts in a managed business account"), which clearly separates it from read-only siblings such as getBusinessAccountGifts. It does not explicitly name or contrast any sibling, so it stops short of a 5.

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?

It states a prerequisite (the can_change_gift_settings business bot right) which tells the agent under what authority the call is valid, but gives no when-to-use versus when-not guidance and no alternative tool named. Usage is only implied by the tool's narrow scope.

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