Skip to main content
Glama

set_header_row_repeat

Set the first rows of a Word table to repeat as the header on every page. Automatically backs up and safely saves the document, and refuses to run if the file is open in Word.

Instructions

Repeat the first N rows as the table header on every page. Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic validated save. Refuses documents open in Word.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onNo
rowsNo
backupNo
file_pathYes
table_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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. It discloses auto-backup with prev/anchor slots, backup=False semantics, atomic validated save, and refusal when the document is open in Word. It does not clarify whether setting on=false removes an existing repeated header or how it interacts with existing table formatting, but the disclosed side effects are strong.

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 with the core purpose front-loaded, followed by dense behavioral guarantees. No filler or repetition; every clause adds operational information the schema does not provide.

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 an output schema exists and no annotations are present, the description is unusually complete: main behavior, backup side effects, save safety, and a refusal condition are all covered. It still leaves minor gaps around toggle semantics and table-indexing conventions, but nothing that makes the tool uncallable.

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 rows via 'first N rows' and backup via 'backup=False skips rotation only', but leaves on, file_path, and table_index semantically unexplained, including whether the index is zero-based or the effect of on=false.

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 precise operation: repeat the first N rows of a table as the header on every page. This clearly distinguishes it from page-header tools like set_header and from other table-manipulation siblings.

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 intended use is implied by the first sentence, but no explicit when-to-use or when-not-to-use guidance is given, and no alternative sibling is named. The only exclusion is the operational constraint about documents open in Word, which is a precondition, not a usage alternative.

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/nometalalchemist/KitchenSink4Word'

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