Skip to main content
Glama

edubase_post_user_login

Creates or retrieves a user login link for EduBase, returning an existing valid link if available. Supports custom expiry, login count, and redirect to an exam or specific path.

Instructions

Generate login link. If a valid link with the same settings exists, it will be returned instead of creating a new one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesuser identification string
redirectNoredirect after a successful login (URI path or [{content_type}:{tag}])
examNothe exam identification string to redirect the user to (mutually exclusive with redirect)
expiresNoexpiry in days (1-30) or YYYY-MM-DD (default: 1 day)
loginsNototal count the link can be used to login users (default: 1)
templateNoa template ID for the login link
shortNogenerate shortened (eduba.se) link (only if feature is enabled on EduBase) (default: false)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesthe user identification string
urlYesthe login link
validYesvalidity of the generated link
countYesmaximum number the link can be used to login
Behavior3/5

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

The description explains that existing valid links are reused, indicating idempotency-like behavior. However, annotations set idempotentHint=false, creating a contradiction. No details on authorization, rate limits, or side effects beyond the annotations.

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?

Two sentences with no redundancy. First sentence states the purpose directly; second sentence clarifies a key behavioral trait. Maximally efficient.

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?

Given the output schema exists, the description does not need to detail return values. It adequately covers the core behavior and references the link reuse behavior. However, it could briefly mention that this is for authentication or that it's a POST operation.

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 coverage is 100%, with all seven parameters described in the schema. The description adds no extra parameter-level meaning or interaction details.

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 clearly states 'Generate login link', specifying the verb and resource. Among siblings, this tool is distinct as the only one for creating/retrieving login links, with edubase_get_user_login and edubase_delete_user_login covering retrieval and deletion.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like get_user_login or other authentication methods. No mention of prerequisites or context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EduBase/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server