Skip to main content
Glama

get_account

Read-onlyIdempotent

Retrieves the signed-in Artemis student's profile details, including name, email, login, language, groups, and course roles. Use it to identify the current user and their memberships.

Instructions

Read the signed-in student's account from GET /api/core/public/account. Returns login, name, email, registration number when Artemis exposes visibleRegistrationNumber, language, groups, and course roles. Read-only. Does not return tokens, passwords, or authorities.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still earns credit by adding behavior beyond them: the concrete HTTP endpoint, the conditional caveat that the registration number appears only when Artemis exposes visibleRegistrationNumber, and an explicit negative guarantee that tokens, passwords, and authorities are never returned — exactly the kind of data-leak reassurance an agent cannot infer from annotations.

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?

Three sentences, front-loaded with the verb and endpoint, then the return fields, then the safety caveats — a sensible ordering with no filler. The only waste is the standalone "Read-only." sentence, which merely restates readOnlyHint=true from the annotations and could be folded away.

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 carries the full burden of describing the return value, and it does so concretely: login, name, email, registration number, language, groups, and course roles. For a zero-argument read tool whose annotations already cover safety and idempotency, nothing an agent needs in order to call it 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?

The tool takes zero parameters, which is the baseline-4 case; there is no argument semantics to explain. The description correctly spends its words on the return payload instead of inventing parameter guidance, and confirms there is no selector argument by scoping the result to "the signed-in student".

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 names a specific verb and resource ("Read the signed-in student's account") and pins down the exact endpoint GET /api/core/public/account, so the agent knows precisely which identity's data comes back. It also enumerates the returned fields, making it unmistakable versus the sibling get_* tools that target exercises, lectures, or exam results.

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

Usage Guidelines4/5

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

The phrase "signed-in student's account" makes the usage context explicit: this is the self-profile lookup, with no identifier parameter to select another user. No alternative tool is named, but the sibling list contains no other account/profile tool, so there is no ambiguity to resolve. It stops short of stating exclusions such as "do not use to list course members" (that is list_courses territory), which keeps it from a 5.

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