Skip to main content
Glama

See who trained

get_students_activity
Read-only

Days each student trained in the last 30 days, keyed by student_id (no names; students who did not train are absent). To find who stopped training, with names and phone, use list_inactive_students; to see the history of one student, pass the student_id to list_student_sessions or get_student.

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_students_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint=false), and the description adds real context beyond them: the fixed 30-day lookback window, the absence of names, and the fact that non-training students are simply omitted rather than returned as zero. Minor remaining gap is response size/shape beyond 'keyed by student_id'.

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?

Two sentences, front-loaded with what is returned and immediately followed by routing guidance. The parenthetical edge-case note is compact and every clause carries information.

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?

There is no output schema, so the description must explain return values, and it does: a map keyed by student_id, values are days trained, window is 30 days, non-trainers excluded. Nothing an agent needs in order to call and interpret this tool 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?

Zero parameters, so the baseline is 4. The description still clarifies the return keying convention (student_id) and notes that a student_id obtained here can be fed to sibling tools, which is useful semantics despite no inputs to document.

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 output statement: 'Days each student trained in the last 30 days, keyed by student_id'. That is a concrete verb+resource+shape, and the parenthetical scoping rules (no names, non-trainers absent) further pin down exactly what the tool returns, distinguishing it from the name-bearing siblings.

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?

It routes explicitly to alternatives by intent: use list_inactive_students for churn analysis with names and phone, and pass student_id to list_student_sessions or get_student for a single student's history. Both the when-to-use and the when-to-use-something-else conditions are stated.

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