Skip to main content
Glama

sync_upstream_docs

Fetches or updates official Kubernetes docs and examples from GitHub, resolves Hugo shortcodes into inline YAML, and rebuilds the SQLite FTS5 search database.

Instructions

Fetches or updates the latest official documentation and examples from github.com/kubernetes/website.

Preprocesses Hugo shortcodes (resolving {{< codenew >}} into inline YAML) and rebuilds the SQLite FTS5 database.

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

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: fetching remote docs, preprocessing Hugo shortcodes, and rebuilding an SQLite FTS5 database. However, it omits whether the sync overwrites local data, requires network access, needs authentication, or what failure modes exist.

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?

The description is two focused sentences: the first states the core sync operation, and the second adds relevant implementation detail. It is front-loaded and avoids repetition, though a slightly clearer separation of scope versus side effects could improve it.

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?

An output schema exists, so return values need not be explained. However, for a zero-parameter sync tool with no annotations, the description should more fully address prerequisites, safety implications of rebuilding the database, and when an agent should invoke it relative to sibling tools.

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 has zero parameters, so the baseline is 4. The schema has full description coverage and the description correctly does not invent parameter details that do not exist.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it fetches or updates official Kubernetes documentation and examples from a named repository. It is clear what the tool operates on, though it does not explicitly distinguish itself from sibling search or lookup tools.

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

Usage Guidelines2/5

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

The description does not say when to use this tool versus alternatives such as search_k8s_docs or get_canonical_manifest. It implies that syncing must happen before search, but no explicit guidance or prerequisites are given.

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