Skip to main content
Glama

Moodle sign-in status

auth_status
Read-onlyIdempotent

Checks whether the server is signed in to KNTU Moodle and whether the stored token still works. Use it first when authentication is uncertain and follow returned instructions if sign-in is needed.

Instructions

Check whether the server is signed in to the KNTU Moodle (mdl.kntu.net.ua) and whether the token still works. Call this first when unsure; it never fails. If signedIn is false, follow the returned instructions to sign in.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
urlYes
reasonNo
useridNo
fullnameNo
signedInYes
usernameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral information beyond that structured data: the guarantee that it 'never fails' and the conditional next-step behavior after a false signedIn result. It doesn't describe rate limits or token-expiry semantics, but that is a minor gap.

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?

Three short sentences, each of which earns its place: what the tool checks, when to call it, and what to do with a negative result. The most actionable instruction is front-loaded, and there is no redundant wording.

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?

An output schema exists, so the description does not need to explain the return shape; it references the signedIn field anyway, which helps the agent interpret the result. For a zero-parameter, read-only status check, 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?

This tool takes zero parameters, so there is no parameter semantics to explain, and a 4 is the baseline for that case. The description correctly avoids inventing parameters and instead tells the agent what happens when it calls the tool without providing anything.

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 states a specific verb and resource: it checks whether the server is signed in to KNTU Moodle and whether the token is still valid. That is concrete and distinguishable from login/logout. It falls short of a 5 only because it doesn't explicitly distinguish itself from the sibling whoami, which an agent might consider an overlapping identity check.

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?

It gives clear context guidance: 'Call this first when unsure' tells the agent when to reach for it, and the conditional 'If signedIn is false, follow the returned instructions to sign in' tells it what to do next. There is no explicit when-not guidance and no named alternative sibling, so it stops short of a 5.

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

Deploy Server

Other Tools