Skip to main content
Glama
BiteFoundry Teams MCP Server

BiteFoundry Teams MCP Server

create_chat

Create a 1:1 or group chat in Microsoft Teams from peer Entra user IDs or email addresses; reuses an existing 1:1 conversation when available.

Instructions

Create a 1:1 chat (1 member; reuses an existing 1:1 chat if one exists) or a new group chat (2+ members). Use search_users first if you need peer Entra user IDs or email addresses. Requires delegated Chat.Create or Chat.ReadWrite. Writes to Microsoft Graph and caches the new conversation; returns { ok, conversation }.

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": {
      "members": "<members>"
    },
    "name": "create_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoOptional topic title applied only when creating a group chat (2+ members).
membersYesPeer Microsoft Entra user IDs or email addresses (1 item for a 1:1 chat, 2+ items for a group chat; the signed-in user is included automatically).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / members / description
      Previous value: -"Peer Entra user IDs or email addresses."New value: +"Peer Microsoft Entra user IDs or email addresses (1 item for a 1:1 chat, 2+ items for a group chat; the signed-in user is included automatically)."
    • changedInput schema / properties / topic / description
      Previous value: -"Optional topic title for group chats."New value: +"Optional topic title applied only when creating a group chat (2+ members)."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false, openWorldHint=true), the description discloses the required delegated scope Chat.Create or Chat.ReadWrite, that it writes to Microsoft Graph and caches the new conversation, and the return shape { ok, conversation }. The 1:1 reuse semantics also explain an outcome an agent would otherwise not anticipate from destructiveHint=false alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences: capability and mode branching first, prerequisite second, auth/write/return last. No filler, and the most decision-relevant information leads.

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

Completeness5/5

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

For a two-parameter mutation tool with full schema coverage and no output schema, the description covers purpose, mode selection, authorization, side effects (Graph write plus caching), and the return shape. Nothing an agent needs to invoke it correctly is missing.

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 description's parameter-relevant statements (1 member vs 2+, topic only for group chats) largely restate what the schema already documents for members and topic. It adds no syntax, format, or validation detail beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource plus both operating modes: 'Create a 1:1 chat (1 member; reuses an existing 1:1 chat if one exists) or a new group chat (2+ members).' An agent can distinguish this from update_chat or list_chats purely from the text, and the reuse-of-existing-1:1 behavior is stated up front.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives clear conditional guidance: 1 member selects a 1:1 chat, 2+ members selects a group chat, and 'Use search_users first if you need peer Entra user IDs or email addresses' names the prerequisite sibling explicitly. It does not state when not to use this tool (e.g., versus list_chats or update_chat for existing conversations), so it falls short of full 5-level routing guidance.

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