Skip to main content
Glama
mcp-server-visual-stack-browser

mcp-server-visual-stack-browser

by cadivus

get_current_url

Retrieve the browser page's current full URL, including query parameters and fragments, to verify navigation state or capture the exact address for debugging.

Instructions

Get the current URL of the browser page. Returns the full URL including any query parameters and fragments.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>"
    },
    "name": "get_current_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession ID from start_browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does establish that this is a non-mutating read and it discloses the shape of the returned value (full URL with query parameters and fragments). It is silent on failure modes, such as what happens with an invalid or expired session_id, or what is returned before any navigation occurs.

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 short sentences, front-loaded with the core action and followed by the return detail. Nothing is redundant or wasted.

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 one-parameter read tool with no output schema, the description covers both the action and the return value, which is what an agent needs. Only session-state prerequisites and edge-case behavior are left unstated.

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?

Only one parameter, and schema coverage is 100% with the schema itself explaining that session_id comes from start_browser. The description adds no additional meaning beyond the schema, so the baseline 3 applies.

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 ("Get the current URL of the browser page") and clarifies the returned value includes query parameters and fragments. It is unambiguous and does not overlap with any sibling (screenshots, logs, navigation), though it never explicitly contrasts itself with alternatives.

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

Usage Guidelines2/5

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

No guidance on when to use this versus other browser-inspection tools, and no stated prerequisites beyond session_id being required. The agent must infer that start_browser must have run first, which the description never says.

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