Skip to main content
Glama

Create link token

vital_create_link_token
Destructive

Creates a short-lived Link token to connect a user's wearable/provider (no health data is modified). Vital API: POST /v2/link/token.

Input Schema

NameRequiredDescriptionDefault
user_idYesThe Vital user id to create the link token for (required).
providerNoPre-select a single provider slug to connect.
redirect_urlNoURL to redirect to after the connection flow.
filter_on_providersNoRestrict the connectable providers to this list of slugs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.3/5.0
Behavior2/5

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

The description asserts "no health data is modified", which conflicts with the declared destructiveHint=true and sends the agent inconsistent safety signals. It also adds no behavioral detail such as token lifetime length, single-use semantics, or whether an existing connection is affected.

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?

Two tight sentences with the purpose front-loaded and no filler. The trailing "Vital API: POST /v2/link/token" is low-value for an MCP caller since the tool is not invoked over raw HTTP, but it is brief enough not to bloat the text.

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 simple one-required-parameter creation tool with full schema coverage and no output schema, the description covers what the tool produces at a high level. It is slightly incomplete on the token's lifecycle (expiry, use) but adequate to invoke correctly.

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 all four parameters (user_id, provider, redirect_url, filter_on_providers) are already documented in the schema. The description adds no syntax, format, or interaction semantics beyond that, so the baseline of 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?

Names a specific verb and resource ("Creates a short-lived Link token") and states what it is for ("to connect a user's wearable/provider"). It does not explicitly differentiate itself from siblings, but none of the get/list/create_user siblings overlap, so confusion risk is low.

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?

Usage is only implied: an agent can infer this is the step before a provider-connection flow, but there is no statement of when to prefer it, what prerequisites exist (e.g. the user must already exist / be created via vital_create_user), or how the token is subsequently consumed.

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.