Skip to main content
Glama
ArminDashti
by ArminDashti

login

Authenticate to the ai-agent-logs API and cache the JWT token for subsequent requests. Allows overriding default credentials with optional username and password.

Instructions

Login to ai-agent-logs-api and cache the JWT. Optional username/password override env defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordNoPassword (default: AI_AGENT_LOGS_PASSWORD)
usernameNoUsername (default: AI_AGENT_LOGS_USERNAME or armin)
Behavior4/5

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

There are no annotations, so the description carries the full burden. It explicitly discloses the important side effect of caching the JWT and the env-default behavior, which is key security/state information for an agent. It does not disclose error handling or whether previous tokens are invalidated, but the core behavior is transparent enough.

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 a single efficient sentence that front-loads the verb and purpose, then adds the useful qualification about optional overrides. There is no filler, and every word earns its place.

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 small, optional-parameter login tool, the description covers the action, credential source, and side effect. The lack of an output schema is mitigated since the JWT is cached, so not much additional context is required.

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% — the schema already documents both parameters and their defaults. The description's 'optional username/password override env defaults' adds little beyond the schema, so it correctly sits at the baseline without extra parameter insight.

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 names a specific verb ('Login') and resource ('ai-agent-logs-api'), and states the concrete side effect ('cache the JWT'). It is clearly distinguishable from the siblings like health_check or list_sessions, so an agent knows exactly when this tool is the right one.

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 intended usage is clear: call this to establish an authenticated session before using sibling tools. The mention of optional username/password overrides tells the agent when the default credentials might be custom, though it does not explicitly state when to skip login or compare against an alternative.

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/ArminDashti/ai-agent-logs-mcp'

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