Skip to main content
Glama

teams_set_work_location

Set your Microsoft Teams work location (Office, Remote, TimeOff, or Unknown to clear it) so your presence card shows where you work until end of day or a specified time.

Instructions

Set where you work (Office, Remote, TimeOff; Unknown clears it), shown on your presence card until the end of today or until. Work/school accounts; not yet tested live.

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": {
      "location": "<location>"
    },
    "name": "teams_set_work_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
untilNoISO time when it ends
accountNoAccount alias (see teams_accounts). Defaults to the default account.
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses the visible effect (shown on your presence card), the default lifetime (until end of today), the clearing semantics of 'Unknown', and an account-type prerequisite plus an untested-live caveat. That is meaningful behavioral context the annotations do not carry, though failure modes and whether the change is reversible remain unstated.

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 front-loaded sentence with the effect, allowed values, default duration, and caveats packed efficiently with no filler. The parenthetical for 'Unknown clears it' is compact and high-value, though the density of clauses makes it slightly harder to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with no output schema, the description covers what changes, how long it lasts, how to clear it, and who can use it. Only secondary details (error behavior, cross-account effects) are missing, which is acceptable at this complexity.

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?

The description adds real meaning to the 'location' enum by explaining that 'Unknown' clears the value, and clarifies 'until' as the alternative to the end-of-day default. The 'account' parameter is left to the schema, which already documents it, so the 67% coverage gap is largely compensated.

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 ('Set where you work'), enumerates the accepted values, and explains that 'Unknown' clears the setting. It does not explicitly distinguish itself from close siblings like teams_set_presence or teams_set_status_message, though 'presence card' hints at the relationship.

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?

The description gives a scoping constraint ('Work/school accounts') and a readiness caveat ('not yet tested live'), which help an agent decide whether to call it. It never states when to prefer this over teams_set_presence or teams_set_status_message, so the alternative selection is left implicit.

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