Skip to main content
Glama

Iniciar sesión

login

Authenticate with username and password to obtain a session token required for task management actions.

Instructions

Autentica a un usuario con username y password. Devuelve un token de sesión que debe pasarse en el resto de las herramientas. Usuarios demo: admin/admin123 (rol admin), empleado/empleado123 (rol member).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordYesContraseña
usernameYesNombre de usuario
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It mentions the return of a session token but does not disclose error handling, token expiry, or potential side effects. This is adequate but has gaps.

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?

The description is concise: three sentences with front-loaded purpose, followed by output usage and demo users. Every sentence adds value without redundancy.

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 login tool with no output schema, the description covers the main aspects: authentication action, token output, and demo users. It lacks explicit token format or usage instructions, but is largely complete.

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?

With 100% schema coverage, the baseline is 3. The description adds value by providing concrete demo credentials (admin/admin123, empleado/empleado123), which help the agent understand valid parameter values.

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 the tool's purpose: authenticates a user with username and password and returns a session token. It distinguishes itself from sibling tools like logout and whoami by being the entry point for authentication.

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 description explains that the returned token must be passed to other tools and provides demo credentials for testing. While it does not explicitly state when not to use it, the context is clear for a login tool.

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/cizar/tasks-mcp-poc'

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