Skip to main content
Glama

connect

Opens a browser session on an Odoo instance and logs in using credentials from environment variables or provided arguments. Required before using any other Odoo tools.

Instructions

Open a browser on the Odoo instance and log in. Arguments default to ODOO_URL/ODOO_DB/ODOO_LOGIN/ODOO_PASSWORD from .env. Must be called before any other tool. Refuses non-localhost URLs unless ODOO_MCP_ALLOW_REMOTE=1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dbNo
urlNo
loginNo
headlessNo
passwordNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries full behavioral disclosure responsibility. It discloses the side effects (opening a browser, logging in), the configuration source, and a security-related refusal behavior. It does not describe what happens if connect is called twice or whether an existing connection is replaced, but it gives a solid behavioral profile.

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 three short sentences with no filler. The core action is front-loaded, followed by configuration defaults and mandatory sequencing. Every sentence conveys necessary information.

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?

Given the output schema exists and the sibling list includes a disconnect tool, the description provides enough context for an agent to call connect successfully: launch browser, log in, defaults, ordering, and remote-URL guard. It could add idempotency or reconnection behavior, but that is supplementary rather than essential for initial invocation.

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 description coverage is 0%, so the description must compensate. It adds value by explaining that arguments default to ODOO_URL/ODOO_DB/ODOO_LOGIN/ODOO_PASSWORD from .env, which clarifies the optional nature of the parameters. However, the headless parameter is not mentioned and its behavior remains undocumented in both schema and description.

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 states a specific action and resource: 'Open a browser on the Odoo instance and log in.' This clearly distinguishes connect from siblings such as open_url and disconnect, which are navigation or teardown operations. The purpose is concrete and directly actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says 'Must be called before any other tool,' giving the agent unambiguous sequencing guidance. It also explains environment-based defaults and the remote-URL restriction, which are essential configuration constraints. No alternative tool needs to be named for an entry-point operation.

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