Skip to main content
Glama

wavexis_assert_url

Read-onlyIdempotent

Verifies that the active browser URL contains a specified substring (case-insensitive), returning pass/fail details for navigation and redirect checks.

Instructions

Assert the current URL contains a substring (case-insensitive).

Args: input: Assertion parameters (url_pattern — substring to match).

Returns: JSON string with passed, url, and pattern.

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": {
      "input": "<input>"
    },
    "name": "wavexis_assert_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered. The description does add one genuinely non-obvious behavioral detail: matching is case-insensitive. However, the 'Returns' block merely restates fields that the output schema already carries, and nothing is said about failure behavior or what happens on a mismatch.

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

Conciseness3/5

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

The core sentence is front-loaded and efficient, but the docstring-style 'Args:' and 'Returns:' scaffolding adds boilerplate, and the Returns section duplicates the existing output schema rather than earning its place.

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?

This is a simple single-purpose assertion tool with an output schema and rich annotations, so the definition is largely sufficient. The gaps — no mention of the required session_id input and no guidance on assertion failure semantics — are modest but real for an agent that must decide how to act on a failed assertion.

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 reported as 0%, so the description must carry the burden. It clarifies that url_pattern is a substring match and that matching is case-insensitive, which is real added meaning. But it omits the required session_id parameter entirely and gives no hints about pattern syntax or escaping.

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 first sentence gives a specific verb and resource: assert that the current URL contains a substring, with the case-insensitivity stated up front. It is distinguishable from content-oriented siblings like wavexis_assert_text_visible and wavexis_assert_visible because it explicitly scopes the check to the URL, though it does not name those siblings directly.

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 only implied: an agent can infer this is a post-navigation verification step, but the description never says when to reach for it versus wavexis_check or the text/visibility assertion siblings, nor does it mention preconditions such as a page being loaded. This is minimum-viable guidance for a browser automation assertion.

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