Skip to main content
Glama
AdvaMCP for Odoo

AdvaMCP for Odoo

chatter

chatter

Create draft messages, internal notes, activities, or direct messages for Odoo records; get an approval link to save them in Odoo.

Instructions

Write in a record's chatter. kind=message: a message to its followers, who are notified (by email too); it is always a draft the user sends from Odoo, so give them the link. kind=note: an internal note. kind=activity: a to-do with a due date; assigned to someone else it notifies them, so it is a draft too. kind=direct: a private message to a colleague (user_id) in Discuss, always a draft. Every change is a draft: it is saved when the user opens the returned link in Odoo and approves it. Give them the link. To read a chatter: odoo_browse with record= and thread=true.

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": {
      "kind": "<kind>"
    },
    "name": "chatter"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe record's id (not for direct).
bodyNomessage / note / direct: plain text; line breaks kept. activity: optional details.
kindYesmessage, note, activity or direct.
draftNoNotes and own activities: true returns a link to approve; false writes now.
modelNoThe record's model, e.g. "res.partner" (not for direct).
reasonNoWith draft=false: why it is right without approval.
summaryNoactivity: short title.
user_idNoactivity: assigned user (default: the user). direct: the colleague who gets the message.
partner_idsNomessage: contacts to notify besides the followers.
activity_typeNoactivity: its type name, e.g. "Call". Default: To-Do.
date_deadlineNoactivity: YYYY-MM-DD. Default: today.

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?

Annotations only say non-read-only, open-world, non-idempotent, non-destructive; the description adds the crucial behavior that writes are drafts requiring the user to open a returned link and approve, that notifications (including email) fire, and that draft=false with a reason writes immediately. It does not describe error/failure behavior or what the link looks like, but the safety-relevant semantics are well covered.

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?

Information-dense and front-loaded, with mode semantics before the behavioral rule and the read alternative last. It is somewhat repetitive about the draft-and-link mechanic (stated in the message case, again for activity/direct, then restated as 'Every change is a draft... Give them the link'), which costs it a point but each clause still carries meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Eleven parameters across four modes, no output schema — and the description covers the return value (a link the user must open), the notification side effects, and the approval workflow. Combined with 100% schema coverage, an agent has everything needed to pick the mode and call it correctly.

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 would be 3, but the description adds cross-parameter meaning the schema does not: that user_id is an assignee for activity but the recipient for direct, that draft semantics differ for notes/own activities versus others' activities, and that body interpretation varies by kind. That is genuine value beyond the field-level descriptions.

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?

Opens with a specific verb and resource ('Write in a record's chatter') and then enumerates the four distinct modes (message, note, activity, direct) with what each one produces. It also names the read counterpart (odoo_browse with thread=true), so an agent can separate this from browsing or from odoo_write without opening a schema.

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?

Gives per-mode when-to-use guidance (followers/notified vs internal note vs to-do vs private colleague message) and explicitly routes read access to odoo_browse with the exact parameters. The draft-vs-immediate condition and the required 'reason' for draft=false are also stated as usage rules rather than left to inference.

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