Skip to main content
Glama

Get timeline

talentlms_get_timeline
Read-only

Recent portal events (logins, user/course/group/branch changes, course completions, certificates...) with the user and related course/group/branch/unit. Filter by event type (e.g. course_completion, user_login_user, user_create_user) and a date range. GET /api/v2/timeline.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
page_sizeNoItems per page, 1-100 (TalentLMS default 10).
created_toNoEvents on or before this ISO 8601 date-time.
event_typeNoOnly this event type, e.g. course_completion, user_login_user, user_create_user.
created_fromNoEvents on or after this ISO 8601 date-time, e.g. 2025-05-07T00:00:00+00:00.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds that results are augmented with related user, course, group, branch and unit records, which materially affects how output should be interpreted. It does not clarify default behavior when no date range is supplied ('recent' is undefined) or ordering of results, which are real gaps.

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 the content description, then filters, then the endpoint. Nothing is redundant or padded.

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?

With no output schema, the description usefully sketches the shape of returned records (user plus related course/group/branch/unit). Combined with readOnlyHint and fully documented parameters, an agent can call it confidently; only the default date window and result ordering remain unspecified.

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 100%, so all five parameters already carry descriptions including example values and ISO 8601 formatting. The description reinforces the event_type and date-range filters with the same example values but adds no syntax or constraint detail beyond the schema, so baseline 3 applies.

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?

States a specific resource (recent portal events) with a concrete inventory of what those events cover (logins, user/course/group/branch changes, completions, certificates) and the underlying endpoint. It is clearly distinguishable from sibling aggregate tools like get_portal_statistics, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Filtering guidance ('Filter by event type ... and a date range') is implied, giving the agent a sense of how to narrow results. There is no explicit statement of when to prefer this tool over siblings such as get_portal_statistics or per-user list tools, nor any prerequisite or exclusion guidance.

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.