Skip to main content
Glama
hilvana-mcp

hilvana-mcp

Official

List PDFs and images

pdf_list
Read-only

Lists PDF, Word, and image files in an allowed folder with PDF page counts, without reading file contents.

Instructions

Lists PDF, Word (.docx) and image files (PNG/JPEG) in an allowed folder, with page counts for PDFs. Does not read content.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pdf_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderNoFolder to list. Defaults to the first allowed folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.2

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with that. Beyond annotations it adds the allowed-folder confinement and notes page counts are returned, but says nothing about recursion depth, result limits, or how non-allowed folders are rejected — meaningful behavior for a listing tool.

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 short sentences, front-loaded with what is listed and immediately followed by the scope exclusion; nothing is padded or restated from the 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?

For a single optional-parameter read-only lister with no output schema, the description covers inputs, safety-relevant scope, and the notable output element (page counts). Minor gaps remain around recursion and result-size behavior, but nothing an agent needs to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, and the description does add real meaning by framing the folder as an "allowed" one, telling the agent its valid values are constrained to a whitelist. It does not add format or path syntax details.

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?

Specific verb ("Lists") plus the exact resource set (PDF, .docx, PNG/JPEG) and an explicit scope boundary ("Does not read content"). The negative clause alone separates it from an inspection sibling like pdf_inspect, so an agent can pick it without opening the schema.

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

Usage Guidelines4/5

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

The "Does not read content" clause tells the agent when to look elsewhere (if it needs file contents), and "in an allowed folder" implies the confinement rule. It stops short of naming a concrete alternative tool, so selection guidance is contextual rather than explicit.

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