Skip to main content
Glama

forward_messages

Send specified messages from a permitted source chat to a whitelisted destination chat in the requested order.

Instructions

Forward messages from a non-blacklisted source chat to a whitelisted destination chat.

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": {
      "from_chat": "<from_chat>",
      "to_chat": "<to_chat>",
      "message_ids": "<message_ids>"
    },
    "name": "forward_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_chatYesDestination chat reference (subject to send whitelist and pinning).
from_chatYesSource chat reference (must not be blacklisted).
message_idsYesMessage IDs to forward in order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this as a non-read-only, open-world, non-idempotent operation, so the safety profile is supplied structurally. The description adds real value by disclosing the blacklist/whitelist gating, which an agent could not infer from the annotations. However, it does not say what happens if only some message IDs succeed, whether retries create duplicates (a real risk given idempotentHint=false), or any rate limiting.

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?

A single front-loaded sentence with no filler and no redundancy. It is efficient, though its brevity is also the source of the gaps in usage and failure-mode coverage.

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 three-parameter mutation with full schema coverage and a usable annotation set, and no output schema to explain, the description is minimally adequate. It still leaves out partial-failure and duplicate-on-retry behavior, which matter for a non-idempotent bulk forward.

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 100%, and the description largely restates the schema's own constraints: the schema already says from_chat 'must not be blacklisted' and to_chat is 'subject to send whitelist and pinning'. The only detail the description carries that the schema does not is nothing beyond that policy framing, so the baseline of 3 is not fully earned.

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 (forward) plus the resource (messages) and both endpoints (source chat, destination chat), so the operation is unambiguous. It does not differentiate from any sibling, though none of the listed siblings appears to forward, so the omission costs little.

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?

The sentence embeds a precondition for use — the source must not be blacklisted and the destination must be whitelisted — which implicitly tells the agent when the call is legal. It gives no when-not guidance, no mention of alternatives such as reading and re-sending, and no note that the destination is also subject to pinning policy, which is left entirely to the schema.

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