Skip to main content
Glama

Logs user into the system.

login_user

Authenticates a user with username and password credentials to log them into the system through mcp-gateway.

Instructions

Log into the system.

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

Input Schema

NameRequiredDescriptionDefault
passwordNo
usernameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not say whether a session token or cookie is returned, what happens on failed authentication, whether rate limiting applies, or whether credentials must already exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short but that brevity reflects under-specification rather than efficiency; it conveys no information beyond the tool name. There is no structure because there is effectively no content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, two undocumented parameters, and an authentication tool whose side effects matter greatly, the description is far too thin. An agent cannot safely invoke it or predict its result from this definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both username and password, so the description must compensate and does not. It gives no hint about parameter meaning, format, requiredness (both are optional per schema, which is itself surprising for a login), or validation behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Log into the system.' simply restates the tool name and title without adding specificity. It names no resource acted upon, no credential mechanism, and nothing that distinguishes it from logout_user or create_user beyond the verb 'log in' already present in the name.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus siblings such as create_user (registering) or logout_user (ending a session), nor any prerequisites such as needing an existing account. The agent must infer the entire usage context from the name alone.

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