Skip to main content
Glama

Remove Office metadata

clean_office

Removes author, company, manager, title and other hidden metadata from Word, Excel or PowerPoint files while keeping the content untouched, saving a clean copy to a new path.

Instructions

Save a copy of a .docx, .xlsx or .pptx without author, last editor, company, manager, title, subject, keywords and the embedded thumbnail. The document content is untouched. Use remove_pdf_metadata for PDFs. Returns the saved path; the input is not changed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>"
    },
    "name": "clean_office"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesPath to the file (absolute, or relative to the working directory).
outputNoWhere to save the result. Defaults to a new file next to the input.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description goes further by disclosing that the input is not changed, that the original is copied rather than mutated, and that content is untouched. It also states the return value (the saved path), which fills a real gap given there is no output schema. The remaining omission is what happens if the output path already exists (overwrite vs. error), which matters for a save operation.

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?

Three tight sentences, front-loaded with what the tool does and what it strips, followed by routing and non-mutation facts. Every clause carries information; there is no filler.

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?

For a two-parameter copy-and-strip tool with no output schema, the description covers the operation, the removal list, the non-destructive guarantee, the return value, and sibling routing. Only the overwrite/existing-output-path behavior is unspecified, which is a modest gap.

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 coverage is 100%, so both parameters are already documented, including that output defaults to a new file next to the input. The description adds no syntax or format detail beyond that; baseline 3 applies when the schema carries the parameter burden.

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 states a specific verb and outcome ("Save a copy ... without author, last editor, company, manager, title, subject, keywords and the embedded thumbnail") scoped to .docx/.xlsx/.pptx files, and explicitly names the sibling it is not (remove_pdf_metadata). An agent can distinguish it from remove_pdf_metadata without opening either schema.

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

Usage Guidelines5/5

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

It names the alternative tool and the condition that selects it ("Use remove_pdf_metadata for PDFs"), and the file-type scope in the first sentence completes the when-to-use rule. Nothing about tool selection is left to inference.

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