Skip to main content
Glama
jonathanARMS23

cosmo-mcp

create_item_from_image

When a product photo isn't recognized, creates a new item in ERPNext from the extracted data.

Instructions

Créer une fiche produit à partir des données extraites d'une photo de produit non référencé. Utiliser après identify_product_from_image quand le produit n'est pas trouvé dans ERPNext et que l'utilisateur confirme vouloir l'ajouter au catalogue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_nameYesNom du produit
cosmo_brandNoMarque
standard_rateYesPrix de vente en Ariary
cosmo_categoryYes
cosmo_ingredientsNoIngrédients INCI visibles (optionnel)
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the tool adds to the catalog and uses extracted data, but does not mention side effects such as duplicate handling, permission requirements, or failure modes. This is adequate but not comprehensive.

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?

Two concise sentences, with purpose front-loaded and usage context following. No redundancy, every word earns its place.

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?

Provides clear workflow context (after identify, when not found, user confirmation) and input expectations. Lacks return value and error behavior details, but given the simple creation action and no output schema, it is reasonably complete for an agent.

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 description coverage is 80%, so most parameters are already documented. The description only adds the context that parameters come from image extraction, but does not elaborate on syntax or meaning beyond the schema. Baseline of 3 applies.

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 it creates a product sheet from photo-extracted data, and explicitly positions it after identify_product_from_image for unreferenced products. This distinguishes it from the generic create_item sibling.

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?

Explicitly instructs to use after identify_product_from_image when the product is not found in ERPNext and the user confirms adding it. This gives clear triggers and preconditions, eliminating ambiguity about when to invoke.

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/jonathanARMS23/cosmo-mcp'

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