Skip to main content
Glama

Build runner profile from Strava

build_runner_profile_from_strava

Build a USRProf from Strava activities selected for a target course or distance. Ask the user for the target course or distance and, when an existing profile is supplied, explicitly ask whether to merge or replace. Strava credentials are never accepted through MCP: this tool returns a private one-hour browser authorization URL and resumes the same job after authorization. If evidence is insufficient, relay the structured user decision and resume the same job with build_anyway, broaden_filters, or cancel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
courseNo
filtersNo
decisionNo
course_fileNoInline/proxied GPX, FIT, CRSProf, or ZIP-with-one-GPX target course, using the same convention as create_race_plan.
resume_job_idNoExisting waiting Strava profile-build job to resume.
target_distance_mNoTarget distance in metres when no course is supplied. Ask the user before choosing it.
existing_profile_strategyNoRequired whenever existing_usrprof_artifact_id is supplied; ask the user explicitly.
existing_usrprof_artifact_idNoExisting USRProf artifact to merge with or replace.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorsNo
job_idYesCourseProfiler job ID to poll with get_job.
statusYesJob status, e.g. queued, running, succeeded, or failed.
progressNo
warningsNo
created_atNoISO-8601 creation timestamp.
expires_atNoISO-8601 expiration timestamp.
started_atNoISO-8601 start timestamp, when available.
status_urlNoRelative API URL for polling this job.
completed_atNoISO-8601 completion timestamp, when available.
result_artifactsNoArtifacts produced by the job, including role metadata.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full transparency burden. It discloses the OAuth-style browser authorization flow (private one-hour URL), that credentials are never accepted through MCP, that the job resumes after authorization, and that insufficient evidence triggers a user decision. It does not describe side effects such as artifact creation or lifecycle details, but the core behavioral model is well surfaced.

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?

The description is four sentences with no filler: purpose first, then user-interaction requirements, auth behavior, and the insufficient-evidence branch. Each sentence contributes an operational constraint or next step, and the most important scoping information is front-loaded.

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?

Given the tool's complexity (8 parameters, nested objects, no annotations) and the presence of an output schema, the description covers the essential workflow decisions: target selection, profile merge/replace, authorization resumption, and evidence-failure routing. It does not spell out the job lifecycle or explicit relationships to other profile tools, but the output schema and sibling names supply the remaining context.

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 63%, and the description adds workflow-level meaning beyond the schema for the main parameters: course/target_distance_m (ask user), existing_profile_strategy (merge/replace), and decision (build_anyway/broaden_filters/cancel). It does not elaborate on filters or file-format nuances, but the schema already documents those fields adequately, so the description neither over-explains nor fully compensates for the remaining coverage gap.

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 names a specific verb and resource — 'Build a USRProf from Strava activities selected for a target course or distance' — and immediately conveys the tool's unique source (Strava), distinguishing it from profile-related siblings like generate_runner_profile and validate_runner_profile. The purpose is concrete and actionable.

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?

It gives explicit interaction steps: ask the user for course or distance, ask merge vs replace when an existing profile is supplied, never accept credentials, and resume the same job after authorization. It does not name sibling alternatives or say when not to use this tool, but the decision to use it for Strava-based profiles is clear from the title and source wording.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each tool targets a distinct step in the course/race-planning workflow, and descriptions carefully separate concerns like importing, enriching, segmenting, and generating a plan. The main ambiguity is among the multiple get_*_requirements helpers, but their target phases are clear enough to avoid persistent misselection.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (create_, enrich_, export_, generate_, get_, import_, search_, submit_, validate_). There is no mixing of camelCase or inconsistent verb styles, making the API predictable and easy to navigate.

Tool Count4/5

With 16 tools, the server is at the upper edge of the ideal range but each tool serves a distinct purpose in a complex pipeline covering course import, enrichment, segmentation, runner profiling, plan creation, PDF export, validation, and catalog submission. The count feels justified for the domain rather than bloated.

Completeness4/5

The toolset covers the full lifecycle from course discovery/import through enrichment, segmentation, runner profiling, race plan generation, PDF export, and catalog submission. Minor gaps exist, such as lack of artifact list/delete/update tools and no direct race-plan editing, but agents can work around these via get_artifact and get_job.

Resources