Skip to main content
Glama
odoo-mcp-guard

odoo-mcp-guard

by sanjithrana

get_rfq

Read-onlyIdempotent

Retrieve a draft or sent request for quotation with all line items by Odoo purchase order ID or RFQ reference to inspect purchasing details.

Instructions

Get a Request for Quotation (draft or sent purchase order) with its lines.

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": "get_rfq"
  }
}

Input Schema

NameRequiredDescriptionDefault
rfq_idNoOdoo purchase.order id.
referenceNoRFQ reference, e.g. P00041.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds meaningful context that the result includes the RFQ's lines and spans both draft and sent states. It adds value beyond annotations but does not address lookup behavior when both or neither identifier is given.

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?

A single, front-loaded sentence with no filler; the resource and the key scope detail come first. The parenthetical slightly interrupts the flow but is informative rather than wasteful.

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?

An output schema exists and annotations are rich, so the description needn't explain return values or safety. For a 2-param lookup tool this is nearly complete; only the identifier-selection behavior is left implicit.

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 coverage is 100%, with both rfq_id (Odoo purchase.order id) and reference (e.g. P00041) fully documented in the schema. The description adds no parameter meaning, so the baseline of 3 is appropriate; it notably does not clarify that either identifier may be used or how precedence works when both are supplied.

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?

The description gives a specific verb ('Get') and resource ('Request for Quotation'), and adds scope detail by clarifying it covers either a draft or a sent purchase order and includes its lines. It does not name or differentiate from siblings, but the listed siblings (check_stock, search_partners) are unrelated domains, so the tool is already distinguishable.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of alternatives, and no statement of the precondition that at least one of rfq_id or reference must be supplied. The 'draft or sent' parenthetical hints at coverage but is not usage guidance.

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

Deploy Server

Other Tools