Skip to main content
Glama
81117105108108

Blinkwire

Evaluate JavaScript

browser_evaluate

Execute custom JavaScript in the live browser page. Pass an arrow function as a string to read data or modify the page; optionally target an element to receive it as an argument.

Instructions

Run JavaScript in the page. Pass an arrow function as a string: "() => document.title". With target, the function receives the element.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoElement ref or CSS selector to pass to the function
filenameNoSave the result to this file instead of returning it
functionYes() => { /* code */ } or (el) => { /* code */ } when target is given

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already provide readOnlyHint and destructiveHint, and the description does not contradict them. However, the description does not disclose that executing arbitrary JavaScript could have side effects beyond the provided hints, so it adds little transparency on top of the annotations.

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 concise, using two sentences to convey the core functionality and parameter behavior without unnecessary details or repetition. It is well-structured and easy to parse.

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?

The description is adequate for the simple purpose but omits an explanation of the 'filename' parameter and does not state what the tool returns. While no output schema exists, mentioning the return behavior or the purpose of saving to a file would improve completeness.

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?

The schema covers all parameters with descriptions, and the tool description clarifies the 'function' and 'target' parameters but omits any explanation of 'filename'. Since schema coverage is complete, the description adds only marginal value beyond the existing parameter descriptions.

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 clearly states the tool's purpose as running JavaScript in the page, which is a distinct action from navigation, clicking, or other browser operations. It provides a specific verb and resource, making it easily distinguishable from sibling tools.

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?

The description includes a concrete example of how to pass the function as a string and explains the behavior of the optional target parameter. While it does not explicitly state when to prefer this tool over alternatives, the example and parameter explanation provide practical guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/81117105108108/Blinkwire'

If you have feedback or need assistance with the MCP directory API, please join our Discord server