Skip to main content
Glama
wtcollote

coros-workout-mcp

by wtcollote

authenticate_coros

Authenticate with COROS Training Hub to get and store an auth token for later API calls. Uses COROS_EMAIL/COROS_PASSWORD env vars for auto-login, or accepts email and password directly.

Instructions

Log in to COROS Training Hub. Stores auth token for subsequent calls. Also checks COROS_EMAIL/COROS_PASSWORD env vars for auto-login. WARNING: Logging in via API invalidates the web app session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoCOROS account email (optional if env vars set)
regionNoAPI region: 'us' or 'eu'eu
passwordNoCOROS account password (optional if env vars set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.4

TDQS

A3.8/5.0
Behavior4/5

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

The description goes beyond the annotations by disclosing that the API login invalidates the web app session and that the token is stored for later calls. It also explains the env-var fallback behavior. There is no contradiction with the annotations, which already indicate this is not a read-only operation.

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?

Three short sentences, all of which carry meaningful information: the core action, token storage/auto-login, and a critical side-effect warning. The description is front-loaded and contains no filler.

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?

The description covers purpose, side effects, auth token behavior, and environment variables. It does not specify what happens on success/failure or what happens if neither env vars nor credentials are provided, but with full schema coverage and no output schema this is a relatively minor gap.

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?

The input schema already fully describes all three parameters, including optionality of email/password and the region enum with default. The description only reiterates the env-var auto-login mechanism without adding new semantic detail beyond the schema.

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

Purpose4/5

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

The description states a specific verb and resource: 'Log in to COROS Training Hub.' It also clarifies the tool's role by noting that it 'Stores auth token for subsequent calls.' It does not explicitly name a sibling like check_coros_auth, but the login action is distinct enough to avoid confusion.

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

Usage Guidelines3/5

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

The description implies usage before subsequent API calls and mentions auto-login via env vars, but it does not explicitly say when to use this tool versus check_coros_auth or how to confirm an existing session first. The warning about invalidating the web session is a useful caveat, but not full when-to-use guidance.

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