Skip to main content
Glama
grammy-mcp
by louietyj

getMyName

Read-only

Retrieve the current bot name for a specified user language using an ISO 639-1 code; use it to localize bot identity in grammY workflows.

Instructions

Use this method to get the current bot name for the given user language. Returns BotName on success.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getMyName"
  }
}

Input Schema

NameRequiredDescriptionDefault
language_codeNoA two-letter ISO 639-1 language code or an empty string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered by structured data. The description adds that the call returns a BotName on success, which matters because no output schema exists. It says nothing about failure modes, fallback behavior, or whether an unset localized name returns the default name.

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 short sentences, front-loaded with the action and resource, with no filler. The return-value clause is compact and earns its place given the absence of an output schema.

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 one-optional-parameter read tool with annotations covering safety, this is close to sufficient: it names the action, the localization input, and the return type. The one missing piece is default behavior when the language code is empty or the bot has no name set for that language, which no structured field covers.

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% and the single parameter carries a full ISO 639-1 enum plus an explicit description, so the schema does the heavy lifting. The description's phrase 'for the given user language' confirms that the parameter controls localization of the returned name, which is marginal added value; the meaning of an empty string is left to the schema.

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: 'get the current bot name.' The 'for the given user language' qualifier distinguishes it from a plain name fetch and from siblings like getMyDescription or getMyShortDescription, which return different profile fields. It does not explicitly name setMyName as the counterpart, but the resource 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 Guidelines3/5

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

'Use this method to get the current bot name' is a usage statement of sorts, and the language qualifier implies localization use. However, there is no guidance on when to prefer this over the other getMy* siblings or over setMyName, and no note about what happens when the name is unset for a language.

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