Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

treebeam_auth_status

Checks whether a valid TreeBeam token is stored and when it expires; if not authenticated, directs users to log in before using tools that require authentication.

Instructions

Check current TreeBeam authentication status — whether a valid token is stored and when it expires. If the user is not authenticated, log them in with the treebeam_login tool before using other tools that would require authentication.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it does disclose that this is a non-destructive status check and that it surfaces token validity and expiry time. However, it says nothing about whether the check performs a network call, may silently refresh the token, or requires existing credentials to even answer, which matters for a zero-parameter auth probe. Adequate but not rich.

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, both earning their place: the first states the check and its outputs, the second states the remediation path. The core purpose is front-loaded before the conditional advice, with no redundant restatement of the tool name.

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 zero-parameter probe with no output schema, the description covers what the agent needs: what is checked, what information comes back, and what to do when unauthenticated. Only the exact response shape and any side effects on the token itself are left unstated, which is a minor gap at this complexity level.

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 there is nothing for the description to disambiguate; baseline is 4. The description correctly adds no parameter noise and instead spends its words on the return semantics and the follow-up action.

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 states a specific verb and resource — 'Check current TreeBeam authentication status' — and narrows it to two concrete outcomes: whether a valid token is stored and when it expires. It also implicitly separates this read-only check from the mutating auth siblings (treebeam_login) by naming login as the follow-up action when unauthenticated, so an agent can tell the two apart without opening either schema.

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 conditional guidance: if the user is not authenticated, call treebeam_login before using other tools that require authentication. That covers the primary routing decision. It does not address the inverse case (whether it is wasteful to call this before every operation, or whether a cached/unexpired status means skip it), so it is clear context rather than complete when/when-not guidance.

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