Skip to main content
Glama
berba-q

FAOSTAT MCP Server

by berba-q

faostat_setup

Validate and store FAOSTAT credentials to authenticate automatically across sessions, using the system keychain or a protected config file.

Instructions

Validate and persist FAOSTAT credentials for automatic authentication across sessions. username is the account email. Saves to the system keychain when available and ~/.config/faostat-mcp/credentials.json (mode 600).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordYes
usernameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and discloses important details: credentials are validated and persisted, saved to the system keychain when available, and fall back to a config file with mode 600. It does not specify failure behavior, overwrite semantics, or whether the password is stored in plaintext.

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 sentences, front-loaded with the core action and followed by storage details. Every clause earns its place with no redundancy.

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 output schema exists, return values need not be explained. The description covers purpose, storage locations, and username semantics, but omits when to use this versus refresh_token and what happens on validation failure.

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 0%, so the description must compensate. It clarifies that 'username is the account email', adding useful meaning for one parameter, but provides no added semantics for 'password' beyond the obvious.

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 uses specific verbs 'Validate and persist' and names the resource 'FAOSTAT credentials', clearly distinguishing this setup tool from all data-retrieval siblings. The scope 'for automatic authentication across sessions' further clarifies its unique role.

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?

Usage is implied by the phrase 'for automatic authentication across sessions', suggesting it is a one-time setup for subsequent calls. However, it does not explicitly state when to run it versus alternatives like faostat_refresh_token, nor does it mention prerequisites or conditions.

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