Skip to main content
Glama

workflow_current

Retrieve the current Chrome page's address, text, and handle from a specified window, plus whether it can be controlled in the background or needs real mouse and keyboard input.

Instructions

The page in one of the user's Chrome windows: address, text and a page handle, and whether it is reachable in the background (route web) or only with the real mouse and keyboard (route desktop).

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

Input Schema

NameRequiredDescriptionDefault
windowNoWindow id from a desktop read.
visibleNoBind the visible tab for the real mouse and keyboard only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It usefully explains the route web vs route desktop distinction (background reachability vs real mouse/keyboard), but does not state whether the operation is read-only, whether it focuses a window, or what side effects the visible binding may have.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single sentence with a compact list of return attributes and no filler. It is front-loaded with the resource, though the lack of an action verb slightly weakens the opening.

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?

For a two-parameter read-style tool with no output schema, the description lists the returned fields and explains the two routing modes. It still omits parameter usage, permission requirements, and what the page handle can be used for, leaving some gaps.

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 both parameters are documented in the schema. The description does not mention the window or visible parameters explicitly; 'one of the user's Chrome windows' loosely maps to window, but no additional semantics are added beyond the schema.

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?

The description identifies the resource (the current page in a Chrome window) and enumerates what is returned: address, text, page handle, and reachability route. It lacks an explicit action verb and does not differentiate from siblings such as workflow_read_url, but the resource scope is clear.

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 when-to-use guidance, prerequisites, or alternatives are given. An agent must infer that this is for inspecting the current page, and there is no indication of when to prefer it over workflow_read_url or other workflow_* tools.

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