Skip to main content
Glama

See latest assessment of each student

get_latest_assessments
Read-only

Every active student with the date of the latest physical assessment (null = never assessed), days_since, weight and body fat, whether a reassessment is already booked, and the app_url of the student assessments screen. due true = past the reassessment interval (90 days by default, counted from the start of the student link when never assessed) and nothing booked, the same rule as the app reminder. only_due true answers "who is due a reassessment?", longest wait first. Next: list_assessments for one student, or schedule_class to book it. Read only.

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": "get_latest_assessments"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoReassessment interval in days, 30 to 365. Default 90.
only_dueNoOnly students due a reassessment. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / days
      Added value: +{
      +  "description": "Reassessment interval in days, 30 to 365. Default 90.",
      +  "maximum": 365,
      +  "minimum": 30,
      +  "type": "integer"
      +}
    • addedInput schema / properties / only_due
      Added value: +{
      +  "description": "Only students due a reassessment. Default false.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description goes well beyond by enumerating returned fields, explaining null semantics ('null = never assessed'), defining the due rule ('past the reassessment interval (90 days by default, counted from the start of the student link when never assessed) and nothing booked, the same rule as the app reminder'), and specifying ordering ('longest wait first'). This is exactly the kind of behavioral context an agent needs.

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 description is information-dense and front-loaded: it describes outputs, then due logic, then next steps. The first sentence is very long and packs many fields, which slightly reduces immediate scannability, but every clause earns its place and there is no filler.

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

Completeness5/5

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

With no output schema, the description fully compensates by listing returned fields and their semantics. It covers the due rule, null handling, ordering, and next-step alternatives. Nothing an agent needs to call this tool correctly is missing.

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 100%, so the baseline is 3. However, the description adds real meaning: it explains that 'days' is counted from the start of the student link when never assessed, and that 'only_due true' answers a specific question and returns results 'longest wait first'. This goes beyond the schema's bare descriptions.

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 opens with a specific verb-resource-scope: 'Every active student with the date of the latest physical assessment', and names the sibling it differs from ('list_assessments for one student'). An agent can immediately distinguish this tool from both list_assessments and get_assessment.

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?

Explicitly states when to use it ('only_due true answers "who is due a reassessment?"') and what to do next ('Next: list_assessments for one student, or schedule_class to book it'). It also clarifies the default interval behavior. No ambiguity about alternatives.

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