Skip to main content
Glama

whoami

Read-only

Retrieves a student's name, student ID, department, programme, status, and current semester while confirming that login works.

Instructions

The student: name, student id (ΑΜ), department, programme, status and current semester. Also checks that the login works.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 the safety profile is covered. The description adds that it verifies login and enumerates returned fields, but it does not explain failure behavior when unauthenticated or any session/auth prerequisites beyond the login check.

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 very short and mostly front-loads the returned data with no redundant text. The fragmentary 'The student:' phrasing is slightly awkward but does not waste space.

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?

For a zero-parameter identity tool with no output schema, the description supplies enough content to know what it returns and why it might be called. It could be more explicit about authentication state and error behavior, but the essentials are present.

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?

The tool takes no parameters, so there is no parameter meaning to document; the schema is empty and fully consistent. This is the expected baseline for a zero-parameter tool.

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 identifies the tool as returning the authenticated student's profile fields (name, ΑΜ, department, programme, status, current semester) and notes its login-verification purpose. The resource and returned data are clear, though the phrasing is a noun fragment rather than an explicit verb.

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?

The mention that it 'checks that the login works' implies a use for authentication or session validation, but there is no explicit when-to-use guidance or comparison with sibling tools. An agent can infer it is an identity/context call rather than one of the data-retrieval siblings, but that inference is left implicit.

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