Skip to main content
Glama

portal_attendance

Read-only

Retrieves attendance records for a student's GIU courses, including absence warning levels, attended/absent counts, and optional session details for a specified course.

Instructions

Attendance: absence warning levels, and attended/absent counts per course.

With course, also lists every session (date, type, group, attended or absent). Set include_sessions to override that.

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

Input Schema

NameRequiredDescriptionDefault
courseNo
include_sessionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description does add genuinely non-obvious behavior: passing `course` also expands the result to a per-session list, and `include_sessions` overrides that. However, 'override that' is ambiguous about whether it forces inclusion or exclusion, and nothing is said about response size or limits when every session is listed.

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?

Two short paragraphs with the primary payload front-loaded and the conditional behavior second. There is no filler, though the sentence fragment 'Set `include_sessions` to override that.' is terse to the point of ambiguity rather than efficiently concise.

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?

There is no output schema, so the description must convey what comes back, and it does: warning levels, attended/absent counts, and per-session date/type/group/status. For a two-parameter read tool with read-only annotations, the main remaining gap is the accepted format of `course`, which an agent needs before calling.

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 description coverage is 0%, so the description carries the full burden, and it does partially: it explains that `course` both scopes the counts and triggers the session listing, and that `include_sessions` modifies that behavior. It never states the expected format of `course` (course name, code, or ID) or the effect of passing `include_sessions` without `course`, so the compensation is incomplete.

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?

The description names a specific resource (attendance) and its payload: absence warning levels plus attended/absent counts per course. That is clearly distinct from siblings like portal_grades or portal_schedule. It loses a point only because the action verb is implied rather than stated (it reads as a noun phrase rather than 'Retrieve attendance...').

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?

Usage is only implied by the resource name: an agent can infer this is the tool for attendance data. There is no explicit statement of when to choose it over siblings, no prerequisites (e.g., authentication or a student identifier), and no exclusions. The conditional note about `course` describes behavior rather than when-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.