Skip to main content
Glama
grammy-mcp
by louietyj

getAvailableGifts

Read-only

Returns the list of gifts a bot can send to users and channel chats, requiring no parameters, so agents can choose available gifts before sending.

Instructions

Returns the list of gifts that can be sent by the bot to users and channel chats. Requires no parameters. Returns a Gifts object.

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": "getAvailableGifts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 and openness profile is covered. The description adds a small amount of context by stating the result is a Gifts object and that no input is needed, but it says nothing about result size, pagination, or caching behavior.

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?

Three short sentences, front-loaded with the purpose and followed by the input and return notes. Nothing is padded, though the sentence on parameters is largely redundant with an empty 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?

This is a simple zero-argument read tool with no output schema, and the description covers purpose, inputs, and the return type. The only gap is that 'Gifts object' is not unpacked, so an agent cannot anticipate the fields returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, which sets the baseline at 4. The description's confirmation that it 'Requires no parameters' is consistent with the empty schema and adds no misleading detail.

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 and resource: it 'Returns the list of gifts that can be sent by the bot to users and channel chats.' The qualifying clause 'that can be sent by the bot' implicitly separates it from sibling readers like getChatGifts or getUserGifts, though no sibling is named explicitly.

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?

Usage is implied by the scope statement — call this to discover the sendable gift catalog — but there is no explicit when-to-use versus when-not guidance and no alternative tool is named. The note 'Requires no parameters' is a setup hint rather than selection guidance.

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