Skip to main content
Glama
FitDays MCP Server

FitDays MCP Server

setup_credentials

Validate FitDays email and password, store only password digests, and save the authenticated session without plaintext, with optional region, backend, and profile settings.

Instructions

Validate FitDays email/password, store password digests and save the session. Never stores plaintext. Optional region/backend/profile.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "email": "<email>",
      "password": "<password>"
    },
    "name": "setup_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesFitDays account email or phone
regionNoRegion: eu, us, cn or global (default from config)
backendNoBackend: auto, legacy, plus or v2 (default from config)
profileNoProfile name (default: X-MCP-User, then default)
passwordYesFitDays account password (hashed locally, never stored plaintext)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

The description adds genuinely useful behavior beyond the annotations: it validates input, stores password digests rather than plaintext, and persists a session — consistent with readOnlyHint=false. Gaps remain around failure behavior (what happens on invalid credentials) and whether an existing credential/session is overwritten.

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?

Three short, front-loaded sentences with zero padding; the security guarantee is placed prominently. The closing fragment 'Optional region/backend/profile.' is telegraphic but not harmful.

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

Completeness3/5

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

For a 5-parameter, non-idempotent credential mutation with no output schema, the definition covers purpose and the key security property but omits what is returned on success/failure and how re-running interacts with an existing session. Adequate but with clear gaps an agent would want answered.

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 description coverage is 100%, so each parameter is already documented with type and default. The description only restates that region/backend/profile are optional, adding no format, precedence, or interaction detail beyond the schema; baseline 3 applies.

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 uses concrete verbs (validate, store, save) against a specific resource (FitDays email/password credentials and session), so the operation is unambiguous. It does not name or distinguish itself from the sibling auth tool check_auth_status, which is the main thing keeping it from a 5.

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

Usage Guidelines2/5

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

There is no explicit statement of when to call this versus check_auth_status or refresh_sync, and no prerequisites (e.g., requires existing account, must run before data tools) are given. The reader can infer it is for initial credential setup, but that is implication rather than guidance.

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