Skip to main content
Glama
browser-bot
by bahira

Build an integration

browser_mint
Destructive

Builds a reusable browser integration for a site without running it, enabling later replay and schema inspection before execution.

Instructions

Build (mint) an integration for a site without running it. Use browser_do unless you deliberately want to build now and run later, or want to inspect the input schema with browser_describe before calling it.

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": {
      "url": "<url>",
      "task": "<task>",
      "authority": "<authority>"
    },
    "name": "browser_mint"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
taskYes
inputNoThe operation's input, matching the integration's input schema. A mint uses it as the example the build starts from; a run uses it as the actual values.
authorityYes
integrationNoIntegration folder name: lowercase letters, digits and underscores. Omit it to let the bot derive one from the site's host.
wait_secondsNoSeconds to wait for the job before answering with its current state. Default 20.
sign_in_originsNoExtra https origins the sign-in may use, as origins ("https://accounts.example.com"). Needed only when the site signs in on another domain.
approved_by_userNoRequired to be true for authority "write". Set it only after your user has explicitly approved changing something on the site in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the risk profile is covered. The description adds one genuinely useful behavioral fact — the build does not run the integration — but says nothing about sign-in requirements, the job/wait_seconds polling behavior, or that 'write' authority needs explicit user approval (that detail lives only in 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.

Conciseness4/5

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

Two front-loaded sentences with the core distinction stated first and the routing rule second; no filler. The second sentence is a touch convoluted but every clause carries routing information.

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 destructive, open-world build tool with no output schema, the definition covers purpose and routing but omits what the build does behind the scenes (sign-in, credential handling) and what a returned job state means when wait_seconds elapses. Adequate to select the tool, thin for predicting its effects.

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 63% with 8 parameters, and the schema itself documents the important ones (authority, approved_by_user, input, sign_in_origins, integration naming). The description adds no parameter meaning of its own, so baseline 3 applies; the uncovered parameters are not compensated for in prose.

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 ('Build (mint) an integration for a site') plus a key scope qualifier ('without running it'), which is exactly what separates it from browser_do. An agent can tell what this produces and what it does not do without opening the 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?

Names the default alternative (browser_do) and two conditions that select this tool instead: deliberately building now to run later, or inspecting the input schema with browser_describe first. The guidance is explicit but the second clause is slightly ambiguous about whether browser_describe is a substitute or a prerequisite step.

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