Skip to main content
Glama

Zoopla MCP Server and API by Cotlet

Run a script on the page

cotlet_browser_evaluate
Destructive

Runs a JavaScript function body on the page and answers what it returns, as JSON. Use it to extract data the page holds (a table, a list, attributes); act with the other tools. It cannot send requests, click, submit, or read cookies or storage; a filled field's value reads [hidden by Cotlet]. Example: return [...document.querySelectorAll('h2')].map(h => h.innerText)

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": {
      "script": "<script>"
    },
    "name": "cotlet_browser_evaluate"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoLeave out. Only an app slug cotlet_app_guide names.
tabNoTab id of the last answer.
scriptYesA function body that returns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / app / description
      Previous value: -"Leave it out: the step runs in the user's web browser. Only when cotlet_app_guide names an app's own Cloud Browser, that app's slug, e.g. milanote."New value: +"Leave out. Only an app slug cotlet_app_guide names."
    • changedInput schema / properties / tab / description
      Previous value: -"The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab."New value: +"Tab id of the last answer."
  2. Changed1 schema field changed
    • addedInput schema / properties / tab
      Added value: +{
      +  "description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=true and openWorldHint=true, and the description does not contradict them — it reinforces them by describing a script execution on live page state. It adds real value beyond the annotations by enumerating capability limits (no requests, no click/submit, no cookie or storage access) and by disclosing the redaction behavior ('a filled field's value reads [hidden by Cotlet]'), which an agent cannot get from the schema.

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?

Three sentences, front-loaded with what the tool does, then the use case, then the constraints and a compact example. No sentence restates the name or the title, and every clause carries a distinct constraint an agent needs.

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?

With no output schema, the description correctly takes on the burden of describing the return ('answers what it returns, as JSON'), and it covers the main execution hazards. It stops short of describing failure behavior — what happens on a thrown exception or when no tab is open — which would matter for a script-execution tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes further by pinning down the `script` parameter's contract — a function body that must return — and showing a concrete example of the expected shape. It says nothing about `app` or `tab`, though the schema already documents both, so no critical gap remains.

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?

States a specific verb and resource: 'Runs a JavaScript function body on the page and answers what it returns, as JSON.' It also carves out the boundary against siblings — 'act with the other tools' — so an agent can separate evaluation from clicking, filling, or navigating without opening another schema.

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?

Gives a positive trigger ('Use it to extract data the page holds (a table, a list, attributes)') and a negative one ('act with the other tools'), which is the correct routing decision for this family. It does not name specific sibling alternatives such as cotlet_browser_read or cotlet_browser_find, so the agent still has to infer which read tool fits, but the guidance is explicit.

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.

Resources