pdf_get_metadata
Get PDF Metadata — Read the metadata fields of a PDF: Title, Author, Subject, Keywords, Producer, Creator. [category: pdf]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Input file (PDF) |
Get PDF Metadata — Read the metadata fields of a PDF: Title, Author, Subject, Keywords, Producer, Creator. [category: pdf]
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Input file (PDF) |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safety profile is established. The description adds value by specifying which metadata fields are read, giving the agent a concrete view of what the operation exposes. It does not discuss edge cases like missing metadata fields, but that is a minor gap given the simple read-only nature.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence that states the verb, resource, and exact field list with no filler. The category tag is unobtrusive. Every element earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter, read-only tool with annotations covering safety, the description provides sufficient context: what it operates on, what fields are returned, and that it is a non-mutating read. The only notable gap is the lack of explicit differentiation from a few sibling analysis tools, but the field list largely covers that.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the single 'file' parameter is already described as 'Input file (PDF)' in the schema. The tool description adds no additional parameter detail beyond the PDF context, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a clear verb ('Read') and a specific resource ('metadata fields of a PDF'), and enumerates the exact fields returned: Title, Author, Subject, Keywords, Producer, Creator. This clearly distinguishes it as a reader from sibling tools like pdf_set_metadata and pdf_remove_metadata.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The name and description imply the tool should be used when an agent needs to read a PDF's metadata, but there is no explicit statement of when to choose this over related tools like analyze_metadata or pdf_file_info. No alternatives or exclusions are mentioned, so guidance is only implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.