Skip to main content
Glama

Create training cohort

create_training_cohort

Create a cohort (a scheduled run) of a program.

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": {
      "program_id": "<program_id>",
      "name": "<name>"
    },
    "name": "create_training_cohort"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
end_dateNo
program_idYes
start_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered. The description adds only the 'scheduled run' framing; it does not disclose what happens on success, whether duplicate cohorts are prevented (consistent with idempotentHint=false), or any permission requirements.

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?

A single front-loaded sentence with no filler. The parenthetical is the only elaboration and it earns its place by defining 'cohort.'

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 mutation tool with four parameters, two of them required, and no schema descriptions or output schema, the definition is too thin. An agent would not know how to populate name, whether dates are required, or what a successful response looks like.

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 coverage is 0%, so the description must carry parameter meaning, but it only hints at program_id via 'of a program' and start/end dates via 'scheduled run.' It says nothing about the required 'name' parameter, date formats, or whether start_date/end_date are optional or required.

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 uses a specific verb and resource ('Create a cohort') and clarifies with 'a scheduled run' of a program, which distinguishes it from creating a training program itself. It stops short of naming a sibling or explicitly contrasting with create_training_program, but the core action is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as create_training_program or list_training_cohorts, nor any prerequisites (e.g., whether the program must already exist). The phrase 'of a program' weakly implies a dependency but does not state it as a rule.

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.

Resources