Skip to main content
Glama

Record a training

hr_record_training

A training someone completed: its kind (ai_literacy for the EU AI Act's Art. 4, privacy, security, safety, other), date, hours, certificate from the file store and expiry. $0.01. Costs $0.01 per call; nothing if it fails.

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": {
      "person": "<person>",
      "course": "<course>",
      "kind": "<kind>",
      "completed_on": "<completed_on>"
    },
    "name": "hr_record_training"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
hoursNo
courseYes
personYesThe person_id, or their work email.
expires_onNoYYYY-MM-DD
completed_onYesYYYY-MM-DD
certificate_file_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare readOnly=false and destructive=false, so safety is covered. The description adds material context beyond that: a per-call cost of $0.01 with no charge on failure, plus that the certificate comes from the file store. It does not warn that the call is non-idempotent (annotations say idempotentHint=false), so duplicate-prevention behavior is left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening is a fragment with no verb, so the key action is not front-loaded. The cost is stated twice in consecutive sentences ('$0.01. Costs $0.01 per call; nothing if it fails.'), which is wasted length in an otherwise short text.

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

Completeness3/5

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

There is no output schema, so the description could help by saying what is returned (e.g. a created record id), which it does not. For a 7-parameter write tool it covers the notable fields and pricing, but omits person/course semantics, idempotency behavior, and error prerequisites (missing file, unknown person).

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 coverage is only 43%, so the description must compensate, and it partially does: it explains the meaning of the kind enum value ai_literacy (EU AI Act Art. 4) and that the certificate is a file-store reference, and it names which fields map to the parameters. However, `person` and `course` are never addressed in the description and rely entirely on the schema for meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase ('A training someone completed') listing captured fields rather than a verb-led statement of what the tool does. Combined with the title 'Record a training', the intent is inferable, but the description itself never says it creates a training record, and it does not distinguish itself from siblings such as hr_save_document or hr_save_people.

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 when-to-use guidance, no mention of prerequisites (e.g. the person or certificate file must already exist), and no alternatives named among the many hr_* siblings. The only context is a field list.

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