Skip to main content
Glama

import_jd_file

Import a target job description from PDF, DOCX, Markdown, or TXT files to capture role requirements for skill-gap analysis and career planning.

Instructions

从文件导入目标岗位的 JD(职位描述)。支持 PDF、DOCX、Markdown、TXT 格式。

Args: file_path: JD 文件的绝对路径

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_path": "<file_path>"
    },
    "name": "import_jd_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/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 does disclose the supported formats (PDF/DOCX/Markdown/TXT) and that the path must be absolute, which is real behavioral information, but it omits what happens on an unsupported format, size limits, whether a JD record is created or replaced, and any permission requirements.

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?

Two short sentences, front-loaded with the action and the format support, followed by the single argument. The Args block is slightly redundant with the schema but the absolute-path note earns its place.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and there is only one parameter. Still, for a file-ingestion tool with no annotations, the description leaves out failure modes and the relationship to the sibling importer, which are the details an agent most needs.

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, and it partially does by specifying that file_path is an absolute path. It adds no guidance on format detection, extension handling, or what to pass for relative or remote paths.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('从文件导入目标岗位的 JD') plus the accepted file formats, so the action is unambiguous. It does not distinguish itself from the sibling import_jd, which likely handles JD text rather than files, leaving the agent to guess which importer to pick.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says to prefer this over import_jd, nothing about whether the JD must be new or can overwrite an existing one, and no prerequisite steps. The agent must infer the file-vs-text distinction purely from the tool name.

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