Skip to main content
Glama
mcp-server-telegram-bot

mcp-server-telegram-bot

by mirmakhamat

add_dir

Approves an additional directory for the Telegram bot to access files from and asks the user to confirm the path first.

Instructions

Allow files from another directory (asks the user to confirm).

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does surface one valuable trait: a user confirmation prompt is triggered. However, it omits permission requirements, what happens if the path is already allowed, whether the grant persists, and what failure modes exist for an operation that expands file access.

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?

One short sentence with the action front-loaded and the confirmation caveat appended where it is most visible. It is efficient, though the terseness is partly under-specification rather than disciplined brevity.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but for an access-granting tool with zero annotation coverage and an undocumented path parameter, the description leaves too much unspecified. An agent cannot tell what the path is relative to or what the confirmation flow implies for calling behavior.

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

Parameters2/5

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

Schema description coverage is 0% for the single required parameter 'path', and the description adds nothing about it. It does not indicate whether the path must be absolute, relative, a host directory, or a sandboxed location, which matters for a security-sensitive access grant.

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 states a specific action and resource: granting file access from another directory. That is clear enough for an agent to distinguish it from remove_dir and list_access without opening the schema. It does not explicitly name the sibling it inverts, but the verb+resource pairing 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 Guidelines2/5

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

There is no when-to-use guidance and no mention of the obvious alternative (remove_dir) or of when adding a directory is inappropriate. The agent must infer the access-management context entirely from the name and sibling list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.