Skip to main content
Glama

teams_get_team_operation

Read-only

Check the status of an asynchronous Microsoft Teams team operation such as create, clone, or archive. Once complete, returns the target team's group ID for follow-up actions.

Instructions

Status of an asynchronous team operation (create, clone, archive); once it succeeded, targetResourceId is the team's group id (work/school, Graph).

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": {
      "team_id": "<team_id>",
      "operation_id": "<operation_id>"
    },
    "name": "teams_get_team_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount alias (see teams_accounts). Defaults to the default account.
team_idYesteamId from the operation
operation_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?

The annotations already declare readOnlyHint=true and openWorldHint=true. The description adds useful behavior beyond that: the operation is asynchronous, and once it succeeds, targetResourceId is the team's group id for work/school accounts via Graph. It still does not describe possible operation status values, failure behavior, or whether repeated polling is expected.

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?

The description is a single efficient sentence, front-loading the core purpose and then adding the most important return-value detail after the semicolon. There is no redundant or filler wording.

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 simple read-only status tool with no output schema, the description covers the async nature and one important return field, targetResourceId. It does not explain the full return shape or how to interpret pending, failed, or in-progress states, so an agent would still need to infer some behavior.

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 67%: account and team_id have descriptions, while operation_id does not. The description indirectly clarifies that operation_id refers to an asynchronous team operation and that targetResourceId is a group id, but it does not add direct guidance for the parameters beyond what the schema already provides.

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?

The description states a specific resource and action: retrieving the status of an asynchronous team operation, with examples of operation types (create, clone, archive). It distinguishes itself from direct team tools by focusing on operation tracking rather than team manipulation, though it does not explicitly name a sibling alternative.

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: this tool is for checking the status of create/clone/archive operations. However, it does not explicitly say when to call it (e.g., after initiating an operation), how often to poll, or when not to use it instead of other team tools.

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