Skip to main content
Glama

viva_connection_start

Destructive

Start connecting a customer's Microsoft 365 tenant to Microsoft Viva Learning, so our courses appear in Viva Learning (Teams) as the content source "DelegAIze-Kurse (Innov-AI-tive)". Returns an admin-consent link: a Global Administrator of the customer's tenant opens it, consents to the learning permissions and signs in once more to register the provider; the catalogue is then pushed automatically and synced daily. The customer needs a Viva Learning (or Viva suite) licence. Only tenant admins.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "viva_connection_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNofree label for this connection, e.g. the customer's company name
ms_cloudNoMicrosoft cloud of the customer's tenant (default global). Viva Learning is not available in Microsoft 365 China (21Vianet).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ms_cloud
      Added value: +{
      +  "description": "Microsoft cloud of the customer's tenant (default global). Viva Learning is not available in Microsoft 365 China (21Vianet).",
      +  "enum": [
      +    "global",
      +    "china"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true; the description adds the important behavior beyond that — an out-of-band human step (Global Administrator opens the consent link and signs in again), followed by automatic catalogue push and daily sync. It does not address why the operation is flagged destructive (e.g. whether an existing connection is replaced), which keeps it off a 5.

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 what the tool does, then the return value, then the human follow-up and the licence/admin constraints. Dense but nearly every clause carries information; the quoted content-source name is slightly incidental noise but still relevant to the outcome.

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

Completeness5/5

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

For a two-optional-parameter action with no output schema, the description covers the return value (admin-consent link), who must act on it, the automatic post-consent behaviour, and the licensing/permission gates. Nothing an agent needs in order to call it or explain the next step is absent.

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 100% and both parameters (label, ms_cloud) are already documented in the schema, including the China/21Vianet caveat. The description adds no syntax, formatting or default guidance for either parameter, so the baseline 3 applies.

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?

Specific verb + resource: 'Start connecting a customer's Microsoft 365 tenant to Microsoft Viva Learning', plus the resulting content-source name. An agent can tell this apart from viva_connection_list, viva_disconnect and viva_sync_catalog because the description frames it as the initiation step that yields an admin-consent link.

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?

Prerequisites are explicit: the customer needs a Viva Learning (or Viva suite) licence and 'Only tenant admins' may proceed. What is missing is an explicit statement of when to prefer this over the sibling sync/disconnect tools, but the 'start connecting' framing implies the first step of the flow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.