Skip to main content
Glama

teams_send_image

Upload a local image (PNG, JPG, GIF, WebP, BMP) and post it inline in a Microsoft Teams chat with an optional caption; animated GIFs stay animated.

Instructions

Upload a local image (png/jpg/gif/webp/bmp) and post it inline into a chat, with an optional caption; animated GIFs stay animated. Personal and work accounts.

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>",
      "path": "<path>"
    },
    "name": "teams_send_image"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare a non-read-only, open-world operation, and the description usefully adds that the image is posted inline, GIF animation is preserved, and both personal and work accounts are supported. It says nothing about size/type rejection behavior, permissions, or what happens on failure — meaningful gaps for a write tool with open-world access.

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 dense sentence with the core action front-loaded and no filler. The parenthetical format list and trailing clauses are load-bearing, though the compound structure makes it slightly run-on.

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?

With no output schema, four parameters, and 25% schema coverage, the description is adequate but incomplete: conversation_id semantics, upload size limits, and error behavior are unaddressed. What it does cover (formats, inline behavior, caption, account types) is the most decision-relevant part.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25%, so the description must compensate, and it does add meaning for most parameters: 'path' is a LOCAL image file in the listed formats, caption is optional, and account scope covers personal/work. Only conversation_id carries no added explanation (e.g., chat vs channel target).

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 and resource ('Upload a local image ... and post it inline into a chat'), plus the supported formats and the inline-vs-attachment distinction. It stops short of naming siblings such as teams_send_file or teams_send_gif, so the agent must infer the boundary between 'image inline' and 'file/gif' paths.

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?

Usage is implied rather than stated: inline image posting with an optional caption, animated GIFs preserved. There is no explicit 'use this instead of teams_send_file when...' guidance and no preconditions (existing chat, membership) are given.

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