Automate Microsoft Teams tasks via Rube MCP (Composio): send messages, manage channels, create meetings, handle chats, and search messages. Always search tools first for current schemas.
Install with Tessl CLI
npx tessl i github:Lingjie-chen/MT5 --skill microsoft-teams-automation72
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Automate Microsoft Teams operations through Composio's Microsoft Teams toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/microsoft_teams
RUBE_MANAGE_CONNECTIONS with toolkit microsoft_teamsRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit microsoft_teamsWhen to use: User wants to post a message to a Teams channel
Tool sequence:
MICROSOFT_TEAMS_TEAMS_LIST - List teams to find target team [Prerequisite]MICROSOFT_TEAMS_TEAMS_LIST_CHANNELS - List channels in the team [Prerequisite]MICROSOFT_TEAMS_TEAMS_POST_CHANNEL_MESSAGE - Post the message [Required]Key parameters:
team_id: UUID of the team (from TEAMS_LIST)channel_id: Channel ID (from LIST_CHANNELS, format: '19:...@thread.tacv2')content: Message text or HTMLcontent_type: 'text' or 'html'Pitfalls:
When to use: User wants to send a direct or group chat message
Tool sequence:
MICROSOFT_TEAMS_CHATS_GET_ALL_CHATS - List existing chats [Optional]MICROSOFT_TEAMS_LIST_USERS - Find users for new chats [Optional]MICROSOFT_TEAMS_TEAMS_CREATE_CHAT - Create a new chat [Optional]MICROSOFT_TEAMS_TEAMS_POST_CHAT_MESSAGE - Send the message [Required]Key parameters:
chat_id: Chat ID (from GET_ALL_CHATS or CREATE_CHAT)content: Message contentcontent_type: 'text' or 'html'chatType: 'oneOnOne' or 'group' (for CREATE_CHAT)members: Array of member objects (for CREATE_CHAT)Pitfalls:
When to use: User wants to schedule a Microsoft Teams meeting
Tool sequence:
MICROSOFT_TEAMS_LIST_USERS - Find participant user IDs [Optional]MICROSOFT_TEAMS_CREATE_MEETING - Create the meeting [Required]Key parameters:
subject: Meeting titlestart_date_time: ISO 8601 start time (e.g., '2024-08-15T10:00:00Z')end_date_time: ISO 8601 end time (must be after start)participants: Array of user objects with user_id and rolePitfalls:
When to use: User wants to list, create, or manage teams and channels
Tool sequence:
MICROSOFT_TEAMS_TEAMS_LIST - List all accessible teams [Required]MICROSOFT_TEAMS_GET_TEAM - Get details for a specific team [Optional]MICROSOFT_TEAMS_TEAMS_LIST_CHANNELS - List channels in a team [Optional]MICROSOFT_TEAMS_GET_CHANNEL - Get channel details [Optional]MICROSOFT_TEAMS_TEAMS_CREATE_CHANNEL - Create a new channel [Optional]MICROSOFT_TEAMS_LIST_TEAM_MEMBERS - List team members [Optional]MICROSOFT_TEAMS_ADD_MEMBER_TO_TEAM - Add a member to the team [Optional]Key parameters:
team_id: Team UUIDchannel_id: Channel ID in thread formatfilter: OData filter string (e.g., "startsWith(displayName,'Project')")select: Comma-separated properties to returnPitfalls:
When to use: User wants to find messages across Teams chats and channels
Tool sequence:
MICROSOFT_TEAMS_SEARCH_MESSAGES - Search with KQL syntax [Required]Key parameters:
query: KQL search query (supports from:, sent:, attachments, boolean logic)Pitfalls:
1. Call MICROSOFT_TEAMS_TEAMS_LIST
2. Find team by displayName
3. Extract team id (UUID format)
4. Call MICROSOFT_TEAMS_TEAMS_LIST_CHANNELS with team_id
5. Find channel by displayName
6. Extract channel id (19:...@thread.tacv2 format)1. Call MICROSOFT_TEAMS_LIST_USERS
2. Filter by displayName or email
3. Extract user id (UUID format)
4. Use for meeting participants, chat members, or team operationstop parameter to control page sizeAuthentication and Permissions:
ID Formats:
Rate Limits:
Message Formatting:
| Task | Tool Slug | Key Params |
|---|---|---|
| List teams | MICROSOFT_TEAMS_TEAMS_LIST | filter, select, top |
| Get team details | MICROSOFT_TEAMS_GET_TEAM | team_id |
| List channels | MICROSOFT_TEAMS_TEAMS_LIST_CHANNELS | team_id, filter |
| Get channel | MICROSOFT_TEAMS_GET_CHANNEL | team_id, channel_id |
| Create channel | MICROSOFT_TEAMS_TEAMS_CREATE_CHANNEL | team_id, displayName |
| Post to channel | MICROSOFT_TEAMS_TEAMS_POST_CHANNEL_MESSAGE | team_id, channel_id, content |
| List chats | MICROSOFT_TEAMS_CHATS_GET_ALL_CHATS | user_id, limit |
| Create chat | MICROSOFT_TEAMS_TEAMS_CREATE_CHAT | chatType, members, topic |
| Post to chat | MICROSOFT_TEAMS_TEAMS_POST_CHAT_MESSAGE | chat_id, content |
| Create meeting | MICROSOFT_TEAMS_CREATE_MEETING | subject, start_date_time, end_date_time |
| List users | MICROSOFT_TEAMS_LIST_USERS | filter, select, top |
| List team members | MICROSOFT_TEAMS_LIST_TEAM_MEMBERS | team_id |
| Add team member | MICROSOFT_TEAMS_ADD_MEMBER_TO_TEAM | team_id, user_id |
| Search messages | MICROSOFT_TEAMS_SEARCH_MESSAGES | query |
| Get chat message | MICROSOFT_TEAMS_GET_CHAT_MESSAGE | chat_id, message_id |
| List joined teams | MICROSOFT_TEAMS_LIST_USER_JOINED_TEAMS | (none) |
Powered by Composio
f0d513a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.