Skip to main content
Glama

Get Withings OAuth URL

withings_get_auth_url
Read-onlyIdempotent

Generate a Withings OAuth authorization URL to obtain user consent and retrieve access tokens for accessing body, sleep, activity, and heart data.

Instructions

Generate a Withings OAuth authorization URL. Use this first when no local token exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNoOptional OAuth state value generated by the caller.
scopesNoOptional scope override. Defaults to read-only Withings scopes used by this server.
response_formatNomarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopesYes
auth_urlYes
next_stepYes
redirect_uriYes
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the description does not need to repeat these. It adds usage context but no further behavioral details beyond what annotations provide.

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?

Two concise sentences with no wasted words. Front-loaded with the core action and usage context.

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?

Given the existence of an output schema and annotations, the description is minimally adequate. It covers the initial step of OAuth but does not elaborate on next steps or the output format. Sufficient for a simple tool but not rich.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 67% (moderate), but the description provides no additional parameter meaning. The input schema already has descriptions for state and scopes, yet response_format has only enum/default without description, and the description does not compensate for this missing info.

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 'Generate a Withings OAuth authorization URL' with a specific verb and resource, and distinguishes it from siblings by noting 'Use this first when no local token exists.'

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?

The description provides clear context by specifying 'Use this first when no local token exists,' implying when to use it and suggesting an ordering relative to other tools like withings_exchange_code. However, it does not explicitly name alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidmosiah/withings-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server