internal-teams-scoping

Scope Teams MCP queries to minimize payloads and prevent chat misrouting.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/JinLee794/L.C.G --skill internal-teams-scoping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: internal-teams-scoping
Source: https://github.com/JinLee794/L.C.G/tree/main/.github/skills/internal-teams-scoping
Command: npx skills add https://github.com/JinLee794/L.C.G --skill internal-teams-scoping

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams MCP query scoping: efficient chat discovery, message search, channel navigation, and chat-type disambiguation for the native Teams MCP server. Prevents oversized payloads, multi-hop sprawl, self-chat confusion, and meeting-chat-vs-direct-chat mistakes. Triggers: Teams search, find chat, search Teams messages, list chats, Teams channel, self-chat, 48:notes, Teams message, post to Teams, chat discovery, Teams retrieval, Teams MCP, 1:1 chat, direct message, meeting chat, send to person, find direct chat.

Core Features & Use Cases

  • Efficient patterns for the native teams:* MCP tools. Prevents payload bloat, unnecessary hops, and confusion around Teams chat topology.
  • Procedures to disambiguate chat types (1:1 vs group vs meeting) and to guard against posting to incorrect chat contexts.
  • Use Case: Quickly locate a specific conversation with minimal data transfer and accurate context.

Quick Start

Describe the Teams data you need — chat messages, channel posts, specific person, topic, or time range.

Frequently Asked Questions about internal-teams-scoping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Teams MCP queries to prevent oversized payloads?

To optimize Teams MCP queries and prevent oversized payloads, scope your searches by topic or time range to minimize data transfer. This approach avoids multi-hop sprawl and reduces the payload size returned by the native teams MCP server.

What is the best way to disambiguate Teams meeting chats from direct chats?

The best way to disambiguate Teams meeting chats from direct chats is by performing chat-type verification via GetChat or chatId inspection. This ensures accurate context identification and prevents misrouting messages to incorrect chat contexts.

Can I use Teams MCP to find specific channel messages without multi-hop sprawl?

Yes, you can use Teams MCP to find specific channel messages without multi-hop sprawl by applying efficient data discovery patterns. These patterns scope your search parameters to target specific topics, ensuring accurate retrieval with minimal data transfer.

Why does my Teams MCP query misroute messages to self-chat?

Your Teams MCP query misroutes messages to self-chat due to unguarded read and write operations. To prevent this confusion around the 48:notes self-chat, enforce vault-based UPN resolution and apply guarded operations before posting to chats or channels.

Do I need vault-based UPN resolution for Teams chat discovery?

Yes, you need vault-based UPN resolution for Teams chat discovery to accurately locate specific conversations. It ensures correct user identification when finding direct chats or posting messages, preventing misrouting across different chat topologies.

How to post to a Teams channel without misclassification errors?

To post to a Teams channel without misclassification errors, enforce chat-type verification via GetChat before executing write operations. This guarded approach verifies the target context is a channel, preventing accidental posts to direct or meeting chats.