Skip to main content
Glama

deepseek_analyze_files

Analyzes local files or logs with DeepSeek to answer specific questions and return concise summaries capped at 30 lines.

Instructions

Read files or logs directly from disk via DeepSeek and return a concise summary capped at 30 lines.

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_paths": "<file_paths>",
      "question": "<question>"
    },
    "name": "deepseek_analyze_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYesSpecific question or analysis task to answer about the files.
thinkingNoOptional flag to enable DeepSeek reasoning mode (defaults to false).
file_pathsYesPaths to files or logs on disk to analyze (sensitive secret files are blocked).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two valuable traits: the output is truncated to 30 lines, and sensitive secret files are blocked; 'via DeepSeek' also hints that file contents are sent to a model. It omits whether the operation is strictly read-only, cost/latency implications of the model call, and behavior on large or unreadable files.

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?

A single front-loaded sentence with no filler; each clause ('directly from disk', 'via DeepSeek', 'capped at 30 lines') conveys distinct information an agent needs.

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 three-parameter tool with a fully described schema and no output schema, the description supplies the key missing piece — the 30-line output cap and the secret-file block. Remaining gaps (read-only guarantee, failure behavior, model-call cost) are modest but real given the absence of annotations.

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 100%, so all three parameters are already self-documenting (file_paths, question, thinking with its default). The description adds no parameter-level meaning beyond noting files come from disk and results are summarized; baseline 3 applies.

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?

The description names a specific verb and resource ('Read files or logs directly from disk') and adds the distinctive outcome ('return a concise summary capped at 30 lines'). It implicitly differentiates itself from deepseek_generate_to_file (which writes) and read_board (which reads a board), but it never names a sibling or explicitly rules out the write path.

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

Usage Guidelines3/5

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

Usage is only implied: the presence of a 'question' parameter suggests analytical Q&A over files, and the pairing with a to-file sibling hints at the in-memory alternative. There is no explicit when-to-use, when-not-to-use, or stated alternative for cases like summarizing many files versus reading one.

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