Skip to main content
Glama

teams_send_gif

Posts a Giphy GIF to a Microsoft Teams chat using a direct URL or by sending the top search result. Supports personal and work accounts with optional captions and content ratings.

Instructions

Post a Giphy GIF into a chat: give url (with title/width/height from teams_search_gifs), or query to send the top result. 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>"
    },
    "name": "teams_send_gif"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
queryNo
titleNo
widthNo
heightNo
ratingNoContent rating (default strict).
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.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutating/external-call nature is covered. The description adds the useful pairing of title/width/height with url and mentions both personal and work accounts, but says nothing about caption handling, whether posting fails on restricted ratings, or any rate limits or side effects.

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?

Two tight clauses with no filler; the two calling modes are front-loaded and the sibling reference is parenthetical rather than buried. Nothing is redundant with the schema.

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?

For a 9-parameter mutation tool with low schema coverage and no output schema, the core workflows are explained, but several parameters (caption, account, conversation_id, rating) receive no elaboration in the description. An agent could call it successfully in the common cases but would be guessing on the remainder.

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 description coverage is only 22% across 9 parameters, yet the description clarifies the most important semantics: what url means, that its companions come from teams_search_gifs, and that query is an alternative. It leaves caption and conversation_id (the sole required parameter) unexplained beyond their names, so it only partially compensates for the coverage gap.

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?

Specific verb and resource: 'Post a Giphy GIF into a chat', with the two supported input modes stated up front. It distinguishes itself from teams_search_gifs by assigning that tool the metadata-lookup role, though it does not explicitly contrast with neighbours like teams_send_image or teams_send_message.

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?

Clearly tells the agent two viable paths: supply 'url' (with title/width/height sourced from teams_search_gifs) or supply 'query' to send the top result. It omits what happens if both or neither are provided, and gives no prerequisites or exclusions, so it falls short of a full when/when-not treatment.

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