Skip to main content
Glama

teams_block_person

Destructive

Block or unblock a person in Microsoft Teams to prevent or restore messaging and calling. Set blocked to false to unblock; defaults to the default account.

Instructions

Block a person so they cannot message or call you, or unblock them with blocked: false. Personal accounts (work accounts untested).

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": {
      "person": "<person>"
    },
    "name": "teams_block_person"
  }
}

Input Schema

NameRequiredDescriptionDefault
personYes
accountNoAccount alias (see teams_accounts). Defaults to the default account.
blockedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, so the mutation risk is known. The description adds value beyond that by explaining the concrete effect (recipient cannot message or call), that the action is reversible through blocked: false, and that work accounts are untested. It stops short of saying whether existing chats are affected or what permissions are required.

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?

A single front-loaded sentence that delivers purpose, the inverse mode with its exact parameter, and the account-scope caveat. No filler, and the most important information (what the tool does) comes first.

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 destructive, no-output tool this covers the essentials — effect, reversibility, and account caveat — but leaves the identifier format for the required person parameter and the side effects on existing conversations unexplained. An agent could still call it incorrectly by passing the wrong identifier type.

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 only 33% — only the account parameter has a schema description. The description compensates well for the undocumented blocked parameter by defining blocked: false as unblock, but it says nothing about what "person" should contain (email, user ID, display name), which is the required parameter.

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?

"Block a person so they cannot message or call you" is a specific verb plus resource with a concrete effect, and the description immediately covers the inverse operation (unblock) via a parameter. It is clearly distinct from read-oriented siblings like teams_get_person or teams_frequent_contacts, though it never names an alternative tool explicitly.

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?

The description tells the agent how to reach both modes (block by default, unblock with blocked: false) and adds a real usage caveat that personal accounts are the tested path while work accounts are untested. It gives no explicit when-not-to-use condition, such as how this differs from removing a contact.

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