Skip to main content
Glama
domdomegg

openfoodfacts-mcp

Get skill

get_skill
Read-only

Retrieve the recommended process for bulk uploading food packaging photos to the Open Food Facts database.

Instructions

Get the OFF upload skill document. This describes the recommended process for bulk uploading food packaging photos to Open Food Facts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for get_skill which returns the contents of the SKILL.md file.
    	async (): Promise<CallToolResult> => ({
    		content: [{type: 'text' as const, text: SKILL_CONTENT}],
    	}),
    );
  • The registration of the get_skill tool.
    server.registerTool(
    	'get_skill',
    	{
    		title: 'Get skill',
    		description: 'Get the OFF upload skill document. This describes the recommended process for bulk uploading food packaging photos to Open Food Facts.',
    		annotations: {
    			readOnlyHint: true,
    		},
    	},
    	async (): Promise<CallToolResult> => ({
    		content: [{type: 'text' as const, text: SKILL_CONTENT}],
    	}),
    );
Behavior3/5

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

Annotations declare readOnlyHint=true. Description adds context about document content (bulk upload process), but omits other behavioral details like error handling if the document is unavailable, caching behavior, or return format (since no output schema exists).

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 tight sentences. Front-loaded with the action and resource, followed by content description. No redundancy or waste.

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?

Without an output schema, the description should ideally disclose the return format (e.g., markdown text, JSON structure), but it only describes the semantic content. Adequate for simple retrieval but gaps remain given the lack of structured output definition.

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?

Input schema has zero parameters. Per scoring rules, 0 params = baseline 4.

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?

Clear verb ('Get') and specific resource ('OFF upload skill document'). Distinguishes from sibling upload_image by clarifying this retrieves documentation about the process rather than performing the upload itself.

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?

Explains what the document contains ('recommended process for bulk uploading'), which implies when to use the tool. However, lacks explicit guidance distinguishing it from get_api_docs or explicit 'when to use vs upload_image' instructions.

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/domdomegg/openfoodfacts-mcp'

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