Skip to main content
Glama

odoo_website_list_page_snippets

Parse Odoo HTML fields to list embedded website snippets, returning index, data-snippet, xpath, text preview, and background URL for blog posts, pages, or products.

Instructions

List snippets currently embedded in a target HTML field. Target can be a blog.post (field=content), website.page (field=arch_db via view_id), product.template (field=website_description), or any HTML field. Parses the HTML with lxml, finds all elements bearing a data-snippet attribute. Returns per-snippet: index, data_snippet, data_name, xpath, text_preview, has_background (detects url() in style), background_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionNodefault
modelYes
res_idYes
field_nameYesHTML field (e.g. 'content', 'arch_db', 'website_description')
langNoRead lang context (default: current user lang)
Behavior4/5

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

The description details parsing method (lxml), attributes searched (data-snippet), and output fields (index, xpath, etc.). No annotations exist, so the description carries the full burden and does it well, though it could mention side effects or auth needs.

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?

The description is a single paragraph with the core purpose front-loaded. It efficiently explains the tool without extraneous words, though the list of target fields could be structured.

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 complexity of parsing multiple models and no output schema, the description provides sufficient context about inputs and outputs. It does not cover error handling or limitations, but is complete for basic usage.

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 only 40%, so the description should compensate. It adds meaning for field_name by listing valid values, but does not explain connection, model, res_id, or lang beyond the schema. The model and res_id are somewhat inferred but not explicit.

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 clearly states the tool lists snippets in an HTML field and specifies target models and fields. It distinguishes itself from sibling tools like odoo_website_add_snippet by focusing on listing, not modification.

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?

No guidance on when to use this tool versus alternatives like odoo_website_list_snippets or when not to use it. The description lacks context on prerequisites or competing tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rosenvladimirov/odoo-claude-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server