Skip to main content
Glama
berba-q

FAOSTAT MCP Server

by berba-q

faostat_refresh_token

Force-refresh the FAOSTAT API authentication token to regain access when queries fail due to expired or invalid credentials.

Instructions

Force-refresh the FAOSTAT API authentication token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Force-refresh' hints that it bypasses a validity check and mutates stored credential state, but the description omits whether existing credentials are required, whether the old token is invalidated for other callers, and whether repeated calls are safe or rate-limited.

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?

A single sentence with zero filler, front-loading the action and its object. Nothing is repeated from the schema or title.

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?

An output schema exists, so return values need not be described, and a no-argument auth tool needs little explanation. The only shortfall is the absent guidance on when a refresh is warranted, which for an auth utility is genuinely useful context.

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?

The tool takes zero parameters, so the baseline is 4. There is nothing for the description to disambiguate, and the schema is trivially complete.

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?

States a specific verb ('force-refresh') and resource ('FAOSTAT API authentication token'). No sibling tool touches authentication, so the agent can immediately distinguish it from the data-retrieval tools in the list.

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?

The word 'force' implies it is invoked when the cached/current token must be replaced regardless of its apparent validity, which gives implied usage. However, it never states the trigger conditions (e.g., after an auth failure or expiry) or any prerequisites, so the agent must infer when to call it.

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