Skip to main content
Glama

Generate course segments

generate_course_segments

Generate analytical course segments from an enriched CRSProf artifact after waypoint enrichment, or from a catalog CRSProf that already contains official waypoints/resources/cutoffs; then use the resulting artifact in create_race_plan for race planning, or call submit_course if and only if the user asked to submit a course for catalog review. A generated CRSProf artifact is not a catalog submission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionsNo
crsprof_artifact_idYesEnriched CRSProf artifact ID returned by enrich_course_waypoints.

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.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It states prerequisites (enriched or catalog CRSProf with official waypoints/resources/cutoffs) and clarifies that the generated artifact is not a catalog submission, which is a key behavioral caveat. However, it does not mention whether the input artifact is modified, what side effects occur, or error conditions, so it is not fully transparent.

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 compact and front-loaded with the core purpose, then adds essential usage context in two well-structured sentences. Every clause provides useful information without redundancy. The semicolon-separated flow makes the prerequisites and fallback behaviors easy to parse.

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 complexity of the options object and the absence of annotations, the description covers key contextual ground: when to use, what input is valid, how the output is used downstream, and a critical distinction from catalog submission. It does not explain the segmentation options themselves, but the output schema and schema field descriptions partially mitigate that. Overall, it is reasonably complete for a tool with many siblings and conditional usage.

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?

The schema has 50% coverage, and the description does not compensate for the gap. It does not explain what options like algorithm, flat_grade, or include_routes mean, nor does it elaborate on the crsprof_artifact_id beyond what the schema already states. The description adds minimal parameter-level meaning, leaving the many options underdocumented.

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 the tool's function: generating analytical course segments from an enriched CRSProf or a catalog CRSProf with official waypoints/resources/cutoffs. It distinguishes itself from downstream tools like create_race_plan and submit_course by explicitly positioning this as a prerequisite step. The verb 'generate' and the resource 'course segments' are specific and unambiguous.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance: use it after waypoint enrichment or with a catalog CRSProf that already contains official waypoints/resources/cutoffs. It also clearly states when to use alternatives, saying to call submit_course only if the user asked to submit for catalog review, and to use the result in create_race_plan for race planning. This is strong differentiation and practical usage direction.

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