Skip to main content
Glama
subbuyalla

WeTrack Enterprise MCP Server

by subbuyalla

wetrack_get_microsoft_signin_url

Get the Microsoft OAuth sign-in URL to start browser-based Azure AD authentication. Open it, complete login, and use the JWT token from the response to authenticate subsequent requests.

Instructions

Get the Microsoft OAuth sign-in URL to start the login flow.

Returns a URL that the user must open in a browser to complete Microsoft/Azure AD authentication. After login, WeTrack will set a session cookie and redirect to the configured success URL.

Workflow:

  1. Call this tool to get the Microsoft OAuth URL.

  2. Open the URL in your browser.

  3. Complete Microsoft login.

  4. Copy the JWT token from the WeTrack response/cookie.

  5. Call wetrack_set_token with the token to use it here.

Note: Microsoft OAuth requires browser interaction and cannot be automated fully through MCP. Use email/password sign-in for non-SSO accounts via wetrack_sign_in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly. It discloses that the tool returns a URL requiring manual browser interaction, that WeTrack sets a session cookie and redirects after login, and that a JWT token must be manually copied and passed to wetrack_set_token. It accurately flags the non-automatable nature of the flow, which is essential behavioral information.

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 well-structured and efficient. It leads with the primary purpose, includes a concise return/behavior description, and then gives a numbered workflow. Every sentence contributes necessary guidance rather than padding.

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?

Given the simplicity (0 params) and that an output schema exists, the description fully covers what an agent needs to know: the tool's purpose, the browser interaction requirement, the cookie/redirect behavior, the workflow, and the alternative for non-SSO accounts. It is complete for correct invocation and interpretation.

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?

There are zero parameters, so the baseline of 4 applies. The description doesn't need to clarify parameter semantics beyond what the schema shows (an empty object). No additional parameter information is required.

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?

The description clearly states the function: getting the Microsoft OAuth sign-in URL to start the login flow. It distinguishes itself from wetrack_sign_in (email/password) and wetrack_set_token (using the obtained token) explicitly, so an agent can differentiate it from siblings without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides an explicit numbered workflow and explicitly notes when not to use it: 'Microsoft OAuth requires browser interaction and cannot be automated fully through MCP. Use email/password sign-in for non-SSO accounts via wetrack_sign_in.' It also instructs to call wetrack_set_token with the token, giving clear downstream usage.

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