Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Check Azure Session for Catalog Account

check_azure_session_for_account

Internal preflight: validates Azure auth for a cloud catalog account slug or explicit azure_tenant_id. Returns { valid: true } or azure_login_required.

Input Schema

NameRequiredDescriptionDefault
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.
account_slugNoCloud catalog account slug (e.g. example-azure)
azure_tenant_idNoAzure AD directory GUID override

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedOutput schema / properties / data / properties / format
      Removed value: -{
      -  "enum": [
      -    "plain",
      -    "markdown",
      -    "json"
      -  ],
      -  "type": "string"
      -}
    • addedOutput schema / properties / data / properties / loginRequired
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / data / properties / message
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / subscriptionId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / tenantId
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / data / properties / text
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / data / properties / valid
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / data / required
      Previous value: -[
      -  "text"
      -]New value: +[
      +  "valid"
      +]
    • addedOutput schema / properties / dataSchemaVersion
      Added value: +{
      +  "const": 2,
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "contractVersion",
      -  "ok",
      -  "data"
      -]New value: +[
      +  "contractVersion",
      +  "dataSchemaVersion",
      +  "ok",
      +  "data"
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so safety is largely covered; notably a 'check' tool is flagged non-read-only, and the description does not explain why (e.g., token refresh side effects). The description does add value by naming the two outcome shapes, { valid: true } or azure_login_required, which tells the agent what a failure looks like.

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 efficient sentences, front-loaded with the key framing 'Internal preflight' before the inputs and return shapes. Nothing wasted.

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

Completeness3/5

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

An output schema exists, so return-value detail is not required, and the description is adequate for calling the tool. It is thin on what an agent should do next after azure_login_required and on the zero-argument case (all params optional), which are the practical gaps for a preflight tool.

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%, so all three parameters including context_id are already documented. The description reinforces the account_slug / azure_tenant_id alternative and the 'override' nature of the tenant id, but adds no syntax or precedence rules (e.g., what happens if both are supplied).

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

Purpose4/5

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

States a specific verb and resource: validates Azure auth for a cloud catalog account slug or explicit azure_tenant_id. The account-vs-tenant distinction is conveyed by the name and parameter phrasing, though the sibling check_azure_session_for_tenant is never mentioned to make the split explicit.

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

Usage Guidelines3/5

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

"Internal preflight" implies the usage context (a precondition check before Azure work), which is real guidance. However, there is no explicit when-to-use vs when-to-skip, no mention of when to prefer check_azure_session_for_tenant, and no remediation guidance when the check fails.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources