Skip to main content
Glama
helmif

semantic-dom-mcp

by helmif

check_auth

Read-onlyIdempotent

Checks if the configured QA session is authenticated by navigating to a URL and detecting redirects to login pages. Use when extractions return login forms instead of the requested page.

Instructions

Diagnostic: navigates with the configured QA_MCP_STORAGE_STATE session and reports whether the page bounced to a login-looking path (session likely expired). Use when extractions unexpectedly return login forms instead of the requested page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe page whose frame tree to report. Must be http/https and allowlisted.
wait_forNoNavigation wait; see extract_semantic_dom.auto

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.8.0
    • changedInput schema / properties / wait_for / default
      Previous value: -"networkidle"New value: +"auto"
    • changedInput schema / properties / wait_for / description
      Previous value: -"Navigation wait condition."New value: +"Navigation wait; see extract_semantic_dom."
    • changedInput schema / properties / wait_for / enum
      Previous value: -[
      -  "load",
      -  "domcontentloaded",
      -  "networkidle"
      -]New value: +[
      +  "auto",
      +  "load",
      +  "domcontentloaded",
      +  "networkidle"
      +]
  2. First observedv0.4.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, so the bar is lower. The description adds genuine context beyond annotations: it discloses the authentication mechanism (QA_MCP_STORAGE_STATE session) and the failure semantics (bounce-to-login indicates expired session). It does not describe what the report format looks like, but that is partially an output-schema concern.

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, front-loaded with the diagnostic purpose then the trigger condition. Every clause earns its place — no filler, no restatement of the tool name.

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?

For a 2-param read-only diagnostic with full schema coverage and annotations carrying the safety profile, the description supplies everything an agent needs: what it does, how it authenticates, and when to reach for it. No output schema exists, but the description adequately frames the result (whether the page bounced to login).

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% — both parameters are fully described in the schema (url with allowlist/http-https constraint, wait_for enum with default). The description adds no parameter detail beyond what the schema provides, so baseline 3 applies.

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?

States a specific diagnostic verb ('navigates with the configured QA_MCP_STORAGE_STATE session and reports whether the page bounced to a login-looking path') and clearly names what it distinguishes from siblings — it's not an extraction tool but a session-health probe. An agent can tell it apart from extract_semantic_dom or session_extract without opening schemas.

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

Usage Guidelines5/5

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

Explicit when-to-use: 'Use when extractions unexpectedly return login forms instead of the requested page.' This gives a concrete trigger condition that routes the agent here rather than to a re-extraction. No alternative tool is named, but the trigger is unambiguous.

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