Skip to main content
Glama

teams_raw_request

Destructive

Send custom requests to any Microsoft Teams or Graph endpoint using GET, POST, PUT, PATCH, or DELETE to read, change, or delete data across graph, chat, middletier, and CSA targets.

Instructions

Escape hatch: call any Teams/Graph endpoint with any method (it can change or delete data); prefer teams_raw_get for reads. Target "graph" = Microsoft Graph (path like /me/joinedTeams, beta via beta:true); "chat" = Teams chat service (path like /v1/users/ME/conversations); "middletier" = Teams middle tier (path like /beta/users/...); "csa" = chat service aggregator (path like /v1/teams/users/me; Teams free uses its consumer CSA). Both account kinds.

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": {
      "target": "<target>",
      "path": "<path>"
    },
    "name": "teams_raw_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
betaNo
bodyNo
pathYes
methodNoGET
targetYes
accountNoAccount alias (see teams_accounts). Defaults to the default account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 novelty is limited, but the description adds real context: arbitrary method choice, the beta:true flag for Graph beta, and what each target backend actually is. It stops short of describing response shape or failure behavior for bad paths.

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?

Front-loaded with the escape-hatch framing and the read-alternative, then dense target semantics in one breath. It is information-rich with little waste, though the run-on target listing is harder to scan than a short enumerated form would be.

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, open-world tool with 6 parameters, low schema coverage, and no output schema, the definition covers endpoint addressing well but says nothing about what is returned (raw JSON vs. parsed), error handling for invalid paths, or body requirements per method. Adequate but with clear gaps.

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 description coverage is only 17%, so the description must carry weight, and it does: it explains all four target values with concrete path examples, clarifies beta:true, and explicitly notes the method defaults to GET while allowing mutating verbs. The account parameter is only gestured at ('Both account kinds') rather than explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: call any Teams/Graph endpoint with any method, framed as an explicit escape hatch. It immediately names the sibling it is not (teams_raw_get) for reads, so an agent can distinguish the two without opening a schema.

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?

Gives a clear routing rule ('prefer teams_raw_get for reads') and warns that the tool can change or delete data. Target selection is conveyed only through example path shapes per target rather than explicit when-to-use statements, and 'Both account kinds' is left ambiguous.

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