Skip to main content
Glama

Execute a page-registered MCP tool

call_webmcp_tool
Destructive

Call a WebMCP tool the open page registered: tool_name as the page listed it, input a JSON string matching the tool's input schema. The tool runs in the page's main world; it is the page author's own interface for that action.

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": {
      "tool_name": "<tool_name>"
    },
    "name": "call_webmcp_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoJSON-stringified parameters to pass to the tool. Omit for tools with no parameters.
tool_nameYesName of the WebMCP tool to call (from list_webmcp_tools)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, readOnlyHint=false and idempotentHint=false, so the risk profile is covered structurally. The description adds genuine context beyond them — that execution happens in the page's main world and that the tool is the page author's own interface — but never reinforces that calls can mutate page/remote state or be non-idempotent, which matters for a destructive tool.

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?

Two compact sentences with the parameter contract front-loaded and no filler. The trailing clause about the page author's interface earns moderate value as trust context but is the softest part of the definition.

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?

There is no output schema, yet the description says nothing about what a call returns, how failures surface, or what page state is prerequisite to the tool existing. For a destructive, open-world execution tool this leaves real gaps even though the core call contract is present.

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 description coverage is 100%, so both parameters are already documented in the structured data. The description restates that input is a JSON string matching the tool's schema and that tool_name must match the page's listing, adding only marginal meaning (schema hint) over the schema itself.

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 names a concrete verb and resource ('Call a WebMCP tool the open page registered') and ties the two parameters to the page's own listing, so it is clearly not the same as a generic browser action. It does not explicitly name list_webmcp_tools as the prerequisite sibling in the description text (only in the schema), which keeps it short of a 5.

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?

Usage is implied rather than stated: 'as the page listed it' hints that the tool must first be discovered, and 'the page author's own interface for that action' hints it is preferable to generic clicking. There is no explicit when-to-use, when-not-to-use, or named alternative such as list_webmcp_tools or click.

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.