Skip to main content
Glama

vega_login

[⚠️ AUTHENTICATION REQUIRED FIRST STEP] The current session is not logged in. Ask user for credentials and call this tool first with email and password (or JWT token) before invoking fleet/device tools. Authenticate your Vega GPS Platform session using email/username/phone and password, or by providing an active JWT access token. Authenticates the current MCP connection so subsequent fleet queries execute with your user permissions and organization data.

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": "vega_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoRegistered user email address, username, or phone number (e.g. "dispatcher@xeekar.com")
tokenNoDirect JWT access token or Personal Access Token (if already acquired from track.vegagps.com)
passwordNoAccount password
rememberMeNoExtend token validity duration (defaults to true for persistent 90-day sessions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 meaningful work: it discloses that authentication binds the MCP connection to the user's permissions and organization data, and that rememberMe yields a persistent 90-day session by default. It omits failure behavior (invalid credentials, expired token) and whether credentials are retained, which matters for a tool handling passwords.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The warning bracket is front-loaded and effective, but the two following sentences restate the same instruction twice ('call this tool first with email and password (or JWT token)' then 'Authenticate your Vega GPS Platform session using email/username/phone and password, or by providing an active JWT access token'). Roughly a third of the text is redundant.

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

Completeness4/5

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

For a zero-annotation, no-output-schema auth tool with four fully documented parameters, the description covers purpose, ordering, auth modes, and session lifetime. Gaps remain around error outcomes and how to verify success (e.g., via vega_whoami), but nothing essential to making the call correctly is missing.

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 coverage is 100%, so the baseline is 3; the description adds value by framing the parameters as two mutually alternative auth paths — email/username/phone plus password, or an active JWT/PAT — which clarifies how the optional parameters combine in practice. It does not address what happens if both email/password and token are supplied.

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 names a specific verb and resource — authenticate the Vega GPS Platform session / current MCP connection — and makes the dependency explicit: fleet and device queries only work after this call. An agent can distinguish this from login-adjacent siblings such as vega_logout or vega_whoami based on the stated purpose alone.

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?

It gives clear sequencing guidance ('call this tool first', 'The current session is not logged in') and names the class of tools that require it (fleet/device). It stops short of explicit alternatives or exclusions — e.g., when to prefer vega_start_browser_login or vega_poll_browser_login over this credential-based path is never stated.

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.

Resources