Skip to main content
Glama

faostat_setup

Authenticate your FAOSTAT account to enable all other tools. Credentials are validated and stored securely for automatic use across sessions.

Instructions

Configure FAOSTAT credentials — call this once to authenticate. After setup, all other tools work automatically across sessions without any manual config file editing.

The tool validates your credentials against the FAOSTAT API before saving, then stores them securely for future use:

  • macOS / Windows: stored in the system keychain (if keyring package is installed)

  • Linux / Docker: stored in ~/.config/faostat-mcp/credentials.json (mode 600)

You can register for a free FAOSTAT account at https://www.fao.org/faostat/

Args: username: Your FAOSTAT account email address. password: Your FAOSTAT account password.

Returns confirmation of where credentials were saved, or an error with a clear message if authentication failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYes
passwordYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses storage locations per OS, validation before saving, and secure storage. Also mentions return value and error behavior.

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?

Well-structured with sections and bullet points, front-loading the main action. Could be slightly more concise, but overall efficient.

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?

Covers authentication process, credential storage, registration link, and what to expect as output. Complete for a setup tool with output schema.

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 0%, but description adds meaning: username is 'FAOSTAT account email address', password is 'FAOSTAT account password'. Also notes validation against API before saving.

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 configures FAOSTAT credentials for authentication, using specific verbs like 'Configure' and 'authenticate'. It distinguishes from siblings by being the setup step for all other tools.

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

Usage Guidelines4/5

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

Explicitly says 'call this once to authenticate' and 'after setup, all other tools work automatically', guiding the agent to use it before other tools. No explicit alternatives (none needed), but clear context.

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/berba-q/faostat-mcp'

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