Skip to main content
Glama
Strava MCP Server
by judepd

strava_get_authorize_url

Generate a Strava OAuth authorization URL for initial user consent, using a redirect URI to start the authorization flow.

Instructions

Generate a Strava OAuth authorization URL for initial user consent.

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": {
      "redirect_uri": "<redirect_uri>"
    },
    "name": "strava_get_authorize_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoread,activity:read
stateNo
redirect_uriYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and provides almost nothing beyond the one-line purpose. It does not disclose that the call is side-effect-free (it only builds a URL), that the returned URL must be visited by the user in a browser, or that authorization is incomplete until the redirect callback is handled.

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?

A single well-formed sentence with the action front-loaded and no filler. It is efficient, though the extreme terseness leaves the gaps noted in other dimensions rather than being genuinely complete.

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

Completeness2/5

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

For a three-parameter tool with zero annotation coverage, no output schema, and no parameter documentation, the description is too thin. An agent cannot learn what the tool returns (a URL string), how scope affects the consent screen, or what the state parameter is for.

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 0% for three parameters, so the description should compensate and it says nothing about any of them. The names are largely self-explanatory (redirect_uri, state, scope) and scope carries a default, which limits the damage, but no meaning is added about allowed scope values or state round-tripping.

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 ('Generate') and resource ('Strava OAuth authorization URL') plus the phase it belongs to ('initial user consent'). It is unambiguous on its own, though it does not reference the other Strava tools to clarify that this is the entry point before any of them can be called.

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?

'For initial user consent' hints at when in the flow this applies, and the absence of comparable siblings means no alternative needs ruling out. However, it never says what to do with the returned URL, whether this is only needed once, or what prerequisite (registered app/redirect URI) must hold before calling.

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