Skip to main content
Glama
grammy-mcp
by louietyj

stopMessageLiveLocationInline

Destructive

Stops live location updates for an inline Telegram message before its live period expires by using the inline message ID. Returns True on success.

Instructions

Use this method to stop updating a live location message before live_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned.

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": {
      "inline_message_id": "<inline_message_id>"
    },
    "name": "stopMessageLiveLocationInline"
  }
}

Input Schema

NameRequiredDescriptionDefault
reply_markupNoAn object for a new inline keyboard
inline_message_idYesIdentifier of the inline message
business_connection_idNoUnique identifier of the business connection on behalf of which the message to be edited was sent

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds one real piece of behavior — the polymorphic success return (edited Message vs True) — but says nothing about permissions, what 'stopping' does to the existing location bubble, or rate limits. It also does not contradict the annotations.

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?

Two tight sentences with the action front-loaded and no filler. The only structural weakness is that the second sentence, describing the return branch, spends its words on the non-inline case that this tool cannot actually hit.

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?

For a 3-parameter mutation with a nested keyboard object and no output schema, explaining the return shape is genuinely helpful. But the description never anchors the inline-only scope or names the sibling pair it splits from, which is the information an agent most needs to select 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 reply_markup, inline_message_id and business_connection_id are all documented in the schema itself. The description adds no meaning beyond that — nothing about what reply_markup replaces or how business_connection_id affects routing — so the baseline of 3 applies.

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 gives a specific verb and resource: 'stop updating a live location message', with the timing condition tied to live_period expiry. It stops short of the one distinction that matters for this variant — that it operates on inline messages via inline_message_id — and the phrasing 'if the message is not an inline message' muddies rather than clarifies the inline-only scope.

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 offers an implicit trigger ('before live_period expires'), which is a genuine usage condition. However, it never states when to pick this over the sibling stopMessageLiveLocation or editMessageLiveLocationInline, and it gives no prerequisites or exclusions, leaving the agent to infer the inline case from the tool name alone.

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