Skip to main content
Glama

Training Planner

training_planner
Read-onlyIdempotent

Every training against every person, most urgent first. This is the only training view that includes people who have never attempted a training, so it is the one to use for "who still has not done X". status is passed, renewed (it lapsed and was earned again), expired, awaiting_signoff, in_progress, not_started, revoked (withdrawn; passing again earns it back) or blocked (barred; a later pass does not lift it). daysToDue is negative when a deadline has passed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "training_planner"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNo
pageNo
sortNoDefault urgency: furthest overdue first, then soonest due
emailNoOnly this person
limitNo
searchNoMatches a person or a training title
statusNo
keywordNoOnly trainings carrying one of these keywords. Matched whole, case-insensitively. Pass several as an array or as a comma-separated string to widen the grid: they are an OR, not an AND.
overdueNoOnly rows whose deadline has passed and who are still not qualified
moduleIdNoOnly this training
includeNaNoInclude cells somebody marked not applicable. They are excluded by default.
mandatoryNoOnly trainings marked compulsory for everyone
readinessNoWhich trainings belong in a plan. A training appears as soon as it is defined, so the default excludes work in progress: omit this and the server picks the narrowest option that actually has trainings behind it, and reports it back as `readiness`.
applicabilityNoOnly cells carrying this decision. A combination starts `undecided` — nobody has ruled it in or out — which is what distinguishes it from `applicable`, where somebody deliberately said it has to be trained.
includeArchivedNoInclude retired trainings, flagged `archived` on the row. Excluded by default: they are not work still to do, but a completed one is still a record.

Output Schema

NameRequiredDescriptionDefault
pageNo
rowsNo
limitNo
totalNo
peopleNo
modulesNo
keywordsNoEvery keyword in use in this workspace
readinessNo
totalPagesNo
archivedCountNoHow many trainings are archived, included or not
readinessCountsNo
unattributedAttemptsNoAttempts recorded without an email, which belong to nobody on the grid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds one genuinely behavioral detail beyond that: the `readiness` default is resolved server-side to the narrowest option with data behind it and reported back, which the agent could not infer. It does not discuss pagination, result size, or how the grid behaves when it is very large.

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?

The single most decision-relevant fact — the unique inclusion of never-attempted people — is front-loaded in the first two sentences. The status parentheticals are dense but each carries disambiguation value (renewed vs revoked vs blocked). Slightly list-like in the middle, but no sentence is filler.

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?

For a 15-parameter read-only grid with an output schema, the description covers the difficult parts: why this view exists, how status values differ, the sign convention on daysToDue, and the server-resolved `readiness` default. Return shape is handled by the output schema, so it need not be described. Minor gap: no guidance on pagination or how `sort`/`dir` interact with the default urgency ordering beyond the schema's note.

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

Parameters4/5

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

Schema coverage is 73%, and the description still adds meaning the schema does not: it enumerates and explains `status` values (renewed = lapsed and re-earned, revoked = withdrawn but re-earnable, blocked = not lifted by a later pass) and states that `daysToDue` is negative when overdue. Undocumented-in-description params like `email`, `moduleId`, `overdue` are delegated to schema descriptions, which is acceptable at this coverage level.

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?

Opens with a concrete verb+resource+shape: 'Every training against every person, most urgent first', which tells the agent this is a cross-join grid, not a flat list. It then states a hard differentiator — the only training view including people who never attempted a training — so the agent can separate it from sibling list tools without inspecting schemas.

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 gives an explicit selecting condition: use this one for 'who still has not done X'. That is a clear positive-use rule tied to a real query shape. It stops short of naming the alternative tool or stating when NOT to use it (e.g. when you only need current enrollees or a single person's record), so 4 rather than 5.

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