New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice
Home / Token cost / Ms 365

The Ms 365 MCP server costs 246,515 tokens before the first call.

Every request your agent makes carries every tool definition this server exposes — context your code, documents and conversation can't use, mostly for tools the agent never calls. You don't need them all in the window, and you don't have to pay for them.

QUICK ANSWER The Ms 365 MCP server's 194 tool definitions consume 246,515 tokens — 123% of a 200k context window, and 131× the median MCP server (1,878 tokens). A scoped grant exposing only the tools you use cuts that roughly in proportion.

MEASURED FROM SCHEMAS tiktoken o200k_base · rank #3 of 9,560 measured servers · refreshed every build Method →

What that costs before your agent starts working.

Tool definitions are overhead: they occupy context on every request and compete with your code, documents and conversation history for the same window.

200K WINDOW 123%
1M WINDOW 25%

Corpus context: Ms 365 ranks #3 of 9,560 measured MCP servers by definition cost. The median is 1,878 tokens, p90 is 13,159, and the heaviest (Ainumbers Mcp Apps) is 347,761 — 174% of a 200k window on its own. New to this? See MCP token cost and context window in the glossary.

Where the 246,515 tokens go.

Each row is one tool definition as a tools/list entry — name, description and input schema — counted with o200k_base. Average: 1,271 tokens per tool.

ToolCategoryTokens% of server
create-onedrive-folder Write 11,405 4.6%
move-rename-onedrive-item Write 11,396 4.6%
update-calendar Write 8,755 3.6%
create-calendar Write 8,733 3.5%
create-mail-child-folder Write 5,496 2.2%
update-mail-folder Write 5,464 2.2%
create-mail-folder Write 5,449 2.2%
create-onenote-page Write 4,749 1.9%
create-onenote-section-page Write 4,728 1.9%
create-onenote-notebook Write 4,682 1.9%
create-onenote-section Write 4,640 1.9%
update-specific-calendar-event Write 3,978 1.6%
create-specific-calendar-event Write 3,932 1.6%
update-calendar-event Write 3,926 1.6%
create-calendar-event Write 3,888 1.6%
update-todo-task-list Write 3,799 1.5%
create-todo-task-list Write 3,766 1.5%
update-todo-task Write 3,688 1.5%
create-todo-task Write 3,595 1.5%
update-planner-bucket Write 3,507 1.4%
update-planner-task Write 3,420 1.4%
create-planner-bucket Write 3,398 1.4%
create-planner-task Write 3,266 1.3%
create-mail-rule Write 3,131 1.3%
update-mail-rule Write 3,108 1.3%
forward-mail-message Write 2,785 1.1%
create-reply-all-draft Write 2,778 1.1%
create-shared-mailbox-reply-all-draft Write 2,763 1.1%
create-reply-draft Write 2,760 1.1%
create-shared-mailbox-reply-draft Write 2,745 1.1%
reply-mail-message Write 2,702 1.1%
reply-all-mail-message Write 2,694 1.1%
create-shared-mailbox-forward-draft Write 2,653 1.1%
create-forward-draft Write 2,618 1.1%
send-mail Write 2,579 1.0%
update-mail-message Write 2,513 1.0%
create-draft-email Write 2,468 1.0%
create-contact-child-folder Write 2,383 1.0%
update-contact-folder Write 2,348 1.0%
create-contact-folder Write 2,295 0.9%
create-planner-task-message Write 2,202 0.9%
create-contact-in-folder Write 1,965 0.8%
update-outlook-contact Write 1,873 0.8%
create-outlook-contact Write 1,808 0.7%
create-subscription Write 1,581 0.6%
update-subscription Write 1,505 0.6%
format-excel-range Write 1,338 0.5%
update-mailbox-settings Write 1,333 0.5%
create-upload-session Write 1,142 0.5%
copy-drive-item Write 944 0.4%
list-calendar-event-instances Read 880 0.4%
get-specific-calendar-view Read 872 0.4%
get-calendar-view Read 817 0.3%
get-drive-delta Read 797 0.3%
list-mail-messages Read 786 0.3%
list-mail-folder-messages Read 783 0.3%
list-mail-folder-messages-delta Read 776 0.3%
create-drive-item-share-link Write 765 0.3%
list-calendar-view-delta Read 720 0.3%
list-calendar-events-delta Read 716 0.3%
create-mail-attachment-upload-session Write 705 0.3%
add-mail-attachment Write 700 0.3%
list-excel-table-rows Read 687 0.3%
list-todo-linked-resources Read 683 0.3%
list-drive-item-thumbnails Read 677 0.3%
update-my-calendar-permission Write 662 0.3%
list-calendar-events Read 653 0.3%
list-specific-calendar-events Read 648 0.3%
create-my-calendar-permission Write 645 0.3%
list-todo-tasks Read 644 0.3%
list-drive-item-versions Read 643 0.3%
list-planner-task-messages Read 641 0.3%
list-excel-tables Read 630 0.3%
list-drive-item-permissions Read 629 0.3%
search-onedrive-files Read 627 0.3%
tentatively-accept-calendar-event Execute 626 0.3%
list-contact-folder-contacts Read 624 0.3%
list-contact-folder-child-folders Read 611 0.2%
list-folder-files Read 605 0.2%
list-subscriptions Read 605 0.2%
list-mail-rules Read 601 0.2%
list-my-calendar-permissions Read 601 0.2%
decline-calendar-event Write 598 0.2%
list-onenote-pages Read 597 0.2%
list-mail-attachments Read 596 0.2%
list-mail-child-folders Read 593 0.2%
list-excel-worksheets Read 588 0.2%
share-drive-item Write 584 0.2%
list-focused-inbox-overrides Read 583 0.2%
list-supported-time-zones Read 579 0.2%
list-plan-tasks Read 568 0.2%
list-mail-folders Read 565 0.2%
list-onenote-section-groups Read 562 0.2%
get-excel-range-format Read 561 0.2%
list-contact-folders Read 558 0.2%
list-outlook-categories Read 543 0.2%
graph-batch Destructive 539 0.2%
list-onenote-section-pages Read 539 0.2%
format-excel-range-border Write 539 0.2%
list-onenote-notebook-sections Read 536 0.2%
create-todo-linked-resource Write 535 0.2%
get-mailbox-settings Read 534 0.2%
list-plan-buckets Read 533 0.2%
list-todo-task-lists Read 528 0.2%
add-excel-table-rows Write 525 0.2%
list-outlook-contacts Read 524 0.2%
update-focused-inbox-override Write 524 0.2%
list-planner-tasks Read 508 0.2%
format-excel-range-font Write 503 0.2%
list-all-onenote-sections Read 502 0.2%
update-excel-range Write 500 0.2%
get-drive-item Read 490 0.2%
get-specific-calendar-event Read 486 0.2%
list-calendars Read 485 0.2%
create-excel-table Write 477 0.2%
list-drives Read 474 0.2%
get-excel-table Read 472 0.2%
list-onenote-notebooks Read 467 0.2%
get-calendar-event Read 463 0.2%
forward-calendar-event Read 461 0.2%
clear-excel-range Destructive 457 0.2%
list-supported-languages Read 453 0.2%
get-todo-task Read 449 0.2%
create-outlook-category Write 441 0.2%
merge-excel-range Write 439 0.2%
cancel-calendar-event Destructive 429 0.2%
download-bytes-to-file Read 429 0.2%
insert-excel-range Write 425 0.2%
format-excel-range-fill Write 422 0.2%
delete-excel-range Destructive 421 0.2%
create-drive-item-preview Write 414 0.2%
update-excel-table-row Write 414 0.2%
update-planner-task-details Write 410 0.2%
upload-file-content Write 409 0.2%
get-mail-tips Read 406 0.2%
create-focused-inbox-override Write 404 0.2%
snooze-calendar-event-reminder Write 404 0.2%
upload-my-profile-photo Write 400 0.2%
get-excel-used-range Read 398 0.2%
get-current-user Read 396 0.2%
unmerge-excel-range Write 390 0.2%
delete-planner-task-message Destructive 386 0.2%
delete-drive-item-permission Destructive 381 0.2%
delete-excel-table-row Destructive 379 0.2%
delete-todo-linked-resource Destructive 374 0.2%
create-excel-chart Write 372 0.2%
get-my-profile Read 371 0.2%
sort-excel-range Write 371 0.2%
get-planner-bucket Read 361 0.1%
get-planner-task Read 358 0.1%
get-planner-task-details Read 351 0.1%
get-excel-range Read 347 0.1%
get-mail-message Read 343 0.1%
get-outlook-contact Read 335 0.1%
download-bytes Read 326 0.1%
delete-mail-rule Destructive 323 0.1%
get-planner-plan Read 323 0.1%
get-drive-root-item Read 317 0.1%
send-shared-mailbox-draft Write 316 0.1%
get-mail-message-mime Read 315 0.1%
delete-specific-calendar-event Destructive 310 0.1%
copy-mail-message Write 307 0.1%
get-subscription Read 299 0.1%
accept-calendar-event Write 299 0.1%
delete-todo-task Destructive 298 0.1%
delete-mail-folder Destructive 297 0.1%
delete-calendar-event Destructive 295 0.1%
move-mail-message Write 295 0.1%
get-download-url Read 294 0.1%
delete-contact-folder Destructive 292 0.1%
delete-todo-task-list Destructive 292 0.1%
delete-focused-inbox-override Destructive 290 0.1%
delete-my-calendar-permission Destructive 289 0.1%
delete-onedrive-file Destructive 289 0.1%
delete-subscription Destructive 287 0.1%
send-draft-message Write 286 0.1%
get-adhoc-call-transcript-content Read 283 0.1%
delete-mail-attachment Destructive 282 0.1%
reauthorize-subscription Write 276 0.1%
delete-mail-message Destructive 270 0.1%
delete-planner-bucket Destructive 265 0.1%
dismiss-calendar-event-reminder Read 264 0.1%
list-adhoc-call-transcripts Read 262 0.1%
delete-onenote-page Destructive 260 0.1%
delete-calendar Destructive 258 0.1%
delete-outlook-contact Destructive 228 0.1%
get-onenote-page-content Read 220 0.1%
parse-teams-url Execute 111 0.0%
remove-account Destructive 97 0.0%
select-account Write 97 0.0%
list-accounts Read 67 0.0%
login Write 64 0.0%
verify-login Read 41 0.0%
logout Destructive 40 0.0%

Your agent uses a handful of these tools. It pays for all 194.

You don't need all 194 of those definitions in the window. PolicyLayer is an MCP gateway that sits in front of Ms 365: only the tools you grant are exposed to the agent, the rest never load. A smaller window means a sharper agent — less noise when it picks a tool — and every request costs less:

Grant scopeDefinition costReduction
All 194 tools (no gateway) 246,515 tokens —
3 granted tools ~3,812 tokens −98%
5 granted tools ~6,353 tokens −97%
10 granted tools ~12,707 tokens −95%

The risk dividend: 27 of these 194 tools are critical-risk (destructive or financial) and cost 8,328 tokens (3% of the definition load). Block them — the recommended starter policy — and you reclaim that context before tuning anything else.

  1. Create a free account and register Ms 365 — nothing to install.
  2. Grant only the tools you use — ungranted definitions never enter the context window.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
CUT MS 365 TOKEN COST →

Instant setup, no code required.

Ms 365 token-cost questions.

How many tokens does the Ms 365 MCP server use?+

Its 194 tool definitions total 246,515 tokens — 123% of a 200k context window — measured with tiktoken o200k_base over the serialised tools/list payload. Exact counts vary slightly by client and model.

Why does Ms 365 consume tokens before I send a message?+

MCP clients load every connected server's tool definitions — name, description, and input schema — into the model's context so it knows what it can call. That payload is charged against your context window on every request, whether or not a tool is used.

How do I reduce Ms 365's token usage?+

Expose fewer tools. A PolicyLayer grant scopes Ms 365 to only the tools you allow — ungranted definitions are filtered out of the tool list, so they never enter the context window. A grant of 3 typical tools costs roughly 3,812 tokens, a 98% reduction.

Does deferred tool loading fix this?+

Partially, in some clients. Claude Code defers MCP tool schemas behind a tool-search step by default, and VS Code has experimental grouping — but you still pay tokens per search and reload, and Cursor, Windsurf and Gemini CLI load definitions upfront. Reducing the exposed tool set cuts the cost in every client.

How these numbers were measured.

01
Serialisation

Each tool is serialised as a tools/list entry — name, description, input schema — from the schemas in the PolicyLayer scan database. Clients differ slightly in framing, so treat counts as close estimates.

02
Tokeniser

tiktoken o200k_base (GPT-4o/o-series). Anthropic's current tokeniser isn't published, so Claude's exact counts will differ; for English text and JSON schemas the totals are close enough to treat these as estimates.

03
Deferred loading

Some clients now defer schema loading (Claude Code's tool search; VS Code experimental grouping). You still pay per search and reload — and Cursor, Windsurf and Gemini CLI load everything upfront.

Computed 28-09-2026 from the PolicyLayer scan database over all 194 catalogued Ms 365 tools. Counts refresh with every site build.

Expose only the tools you use — the rest never enter your context.

A PolicyLayer grant scopes Ms 365 to the tools you actually allow. Ungranted definitions never load, and every call that does run is checked against policy first.

Instant setup, no code required.

46,500+ MCP servers and 515,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.