Skip to main content
Glama

auth_status

Read-onlyIdempotent

Checks whether a Bhoonidhi login is configured for downloads and cart actions, then reports if authentication is available or login guidance is needed.

Instructions

Report whether a Bhoonidhi login is configured for downloads and cart.

Never asks for or returns a password or token. If credentials are set in the server's environment (BHOONIDHI_USERNAME / BHOONIDHI_PASSWORD) it establishes the session so the answer matches what a download or cart action would find. Returns authenticated=True with the username when a usable session exists, or authenticated=False with guidance to log in ('bhd auth login' out of band, or set those environment variables). Call this before download or cart actions to tell the user if a login is needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the security posture ('Never asks for or returns a password or token'), the non-obvious side effect that it will establish a session from BHOONIDHI_USERNAME/BHOONIDHI_PASSWORD so the answer matches a real download attempt, and the two return shapes with remediation guidance. Session establishment is a benign network interaction consistent with openWorldHint and does not mutate user data, so it does not contradict readOnlyHint.

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

Conciseness4/5

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

Purpose is front-loaded and every sentence carries information: security guarantee, session behavior, return values, and recommended call placement. It is slightly longer than needed because the environment variable names and the 'log in or set env vars' remediation are effectively stated twice.

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

Completeness5/5

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

There is no output schema, yet the description fully specifies the two return cases (authenticated=True with username, authenticated=False with remediation), the prerequisite configuration, and the recommended call ordering. Nothing an agent needs in order to invoke this zero-argument check correctly is missing.

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 no parameters, so the baseline is 4 and there is no parameter meaning for the description to add. It correctly does not pad with parameter discussion, instead spending its words on return values and environment configuration.

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 opening sentence names a specific verb (report) and resource (whether a Bhoonidhi login is configured), scoped to downloads and cart. It is immediately distinguishable from siblings like download_status or cart_list, which act on downloads/carts rather than on credential state.

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?

It gives explicit placement guidance: 'Call this before download or cart actions to tell the user if a login is needed.' That is clear when-to-use context tied to concrete siblings. It stops short of a when-not statement (e.g., don't poll repeatedly, or skip if a previous call already returned authenticated=True), so it falls one step below fully explicit routing.

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