Skip to main content
Glama

list_input_files

Read-onlyIdempotent

List paginated pending-import PDF, JPG, and PNG candidates with sizes from the configured input folder, skipping hidden items, links, and subdirectories.

Instructions

用户要查看待导入材料时,分页列出配置的专用输入目录第一层PDF/JPG/PNG候选及大小,跳过隐藏项、链接、子目录和特殊文件。不读取内容、不导入、不上传;大小合规不证明格式/页数有效,也不表示用户授权处理。用next_offset继续,目录变化后刷新首页;实际导入仍逐文件检查。已导入材料用list_documents。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description goes well beyond them: it explicitly says the tool does not read content, import, or upload, and clarifies that size compliance does not prove format/page-count validity or constitute user authorization. These boundary disclosures are the kind of context annotations cannot express.

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 dense but front-loaded: purpose and scope come first, followed by caveats, pagination, and the sibling pointer. Every clause adds signal, though the caveat cluster ('does not read/import/upload' plus the validity and authorization disclaimers) is slightly heavy for the amount of behavioral difference it conveys.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists (covering next_offset), and annotations cover safety, so the description need not explain return values. Given full context, it supplies trigger conditions, scope limits, non-actions, pagination behavior, and the alternative tool – nothing an agent needs to invoke it correctly is missing.

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 carries the burden. It explains pagination via next_offset and first-page refresh, but never defines the offset or limit parameters themselves (e.g., units, max limit, default of 20), so it only partially compensates for the coverage gap. Baseline 3 is appropriate.

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 (paginated list) and resource (first-level PDF/JPG/PNG candidates in the configured input directory) with explicit scope constraints. It names the sibling list_documents as the alternative for already-imported materials, so an agent can distinguish it without opening a 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 states the trigger scenario (user wants to view materials pending import) and the exclusion/alternative (use list_documents for imported materials). It also explains the pagination workflow (continue with next_offset, refresh the first page when the directory changes) and warns that actual import still requires per-file checks.

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