Skip to main content
Glama

teams_get_link

Read-only

Build a Microsoft Teams deep link to a chat or specific message using its conversation ID, so users can open the exact chat or message directly in Teams.

Instructions

Build a Teams deep link to a chat or message.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "teams_get_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount alias (see teams_accounts). Defaults to the default account.
message_idNo
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/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. The description adds nothing beyond that: it doesn't say what the returned link looks like, whether it is scoped to the account, whether the link is stable or ephemeral, or what happens if message_id is omitted (chat-level link vs message-level link).

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 short sentence with no wasted words and the core purpose front-loaded. Brevity is not its problem; the missing detail is treated under the other dimensions.

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?

For a 3-parameter tool with no output schema, the description does virtually nothing to explain what the caller receives or how conversation_id and message_id interact. The annotation covers safety, but the description leaves an agent guessing about the result and the parameter-dependent 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 only 33% — account is documented in the schema, while conversation_id and message_id are bare. The description does not compensate at all: it never explains that conversation_id is required or that supplying message_id switches from a chat deep link to a message deep link, which is the key semantic choice for this tool.

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 ('Build') and a specific resource ('Teams deep link to a chat or message'), so an agent can immediately tell this produces a link rather than fetching messages or chats. It does not explicitly distinguish itself from adjacent link tools such as teams_chat_invite_link, but the 'deep link' framing is reasonably self-differentiating.

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 statement of when to use this tool, when not to, or which sibling to choose for a related need (invite link, join by link). The agent must infer from the name alone that this is the read-only link-generation tool rather than one of the several other link-related siblings.

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