Skip to main content
Glama

list_accounts

Retrieves the student IDs linked to your SSO account, so you can identify which Moodle elearn profile to query for courses, grades, and deadlines.

Instructions

List the student ids owned by the SSO user.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden, but 'List' clearly conveys a read-only, non-mutating operation and the output schema covers the return shape. It says nothing about authentication requirements (presumably SSO-derived), pagination, or result size limits, so the behavioral picture is adequate but thin.

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?

A single, front-loaded sentence with no filler and no redundancy. Given a zero-parameter tool, this is exactly the right size.

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 simple read-only listing tool with no parameters and an output schema, the description states what is returned and whose accounts are included, which is sufficient. Minor gaps are whether results are paginated or complete, but the output schema likely covers the structure.

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, so there is no parameter semantics to explain and the schema is trivially complete. Baseline 4 applies; the description neither helps nor hurts here.

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 gives a specific verb and resource ('List the student ids') plus a scope ('owned by the SSO user'), so the agent knows both the operation and the boundary of the result set. It does not name any sibling or explain how it differs from tools like grades or course_contents, which is the only thing separating it from a 5.

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: the phrase 'owned by the SSO user' tells the agent this returns the caller's own accounts and not arbitrary students, which is a useful scoping hint. There is no explicit when-to-use, no when-not-to-use, and no named alternative for looking up other users' ids.

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