Skip to main content
Glama

worksection_login

Start OAuth2 browser login to authorize Worksection access, wait for the loopback redirect, and store encrypted tokens for subsequent API calls.

Instructions

Start the OAuth2 browser login. Opens the authorization page, waits for the loopback redirect, and stores the resulting tokens encrypted on disk. Has nothing to do in admin_key mode and reports that instead of failing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeout_secondsNoHow long to wait for the browser login to complete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses the interactive browser flow, the loopback wait, encrypted token storage on disk, and the non-failing admin_key behavior. It omits return/report format and timeout behavior, but those are secondary given the detailed flow description.

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 three focused sentences with no filler. It front-loads the core action and then adds behavioral specifics, earning every sentence's 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 login tool with one optional parameter and no output schema, the description covers the main flow, side effects, and an important edge case. It could mention what the reported result looks like, but the essential information needed to call it correctly is present.

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 description coverage is 100%, with the timeout_seconds parameter already fully documented. The description's mention of waiting for the loopback redirect adds slight context but does not need to compensate for schema gaps.

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 action: starting the OAuth2 browser login, opening the authorization page, waiting for the loopback redirect, and storing tokens. This clearly distinguishes it from siblings like auth_status and worksection_logout by naming the exact resource and behavior.

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 clear context for when the tool applies and explicitly notes an exclusion: in admin_key mode it has nothing to do and reports rather than failing. It does not name alternative tools like auth_status or validate_configuration, but the invocation context is sufficiently clear.

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