Skip to main content
Glama
odoo-readonly

odoo-readonly

by arisnew

odoo_session_info

Check Odoo connectivity and return the user, database, and server version for a specified profile.

Instructions

Connectivity check: user, database, Odoo server version for the given profile.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "odoo_session_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It makes clear this is a read-only diagnostic and even names what it reports (user, database, version), but it says nothing about credential requirements, error behavior on an unreachable server, or side effects, which matters for an unfannotated tool.

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?

A single front-loaded sentence with the connectivity-check purpose first and the returned fields second. No filler, no restating the tool name.

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?

An output schema exists, so return values need not be described in depth, and the description still names the key returned fields. The remaining gap is invocation semantics for the optional profile parameter with an empty default, which the description does not resolve for a tool this simple.

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?

The single profile parameter has 0% schema description coverage, so the description must compensate. "For the given profile" anchors the parameter to a profile concept, but it does not explain what a profile is, what the empty default means, or that profiles can be enumerated via a sibling tool.

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?

States a specific verb and resource: a connectivity check that returns the user, database, and Odoo server version. That is concrete enough for an agent to know why it would call this rather than a data-reading sibling, though it never explicitly contrasts with tools like odoo_list_profiles or odoo_read.

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?

The phrase "Connectivity check" implies the usage context (validating that a profile can reach the server and see which identity/DB it resolves to), but no when-to-use or when-not-to-use condition or alternative is spelled out. Guidance is inferred rather than stated.

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