Skip to main content
Glama
FullContextInput MCP

FullContextInput MCP

by lukehemmin

analyze_prompt_for_files

Analyzes user prompts to detect file or directory requests and suggests appropriate MCP tools, optionally using a workspace path for context.

Instructions

사용자 프롬프트를 분석하여 파일/디렉토리 요청을 자동 감지하고 적절한 MCP 도구를 제안합니다.

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": {
      "user_prompt": "<user_prompt>"
    },
    "name": "analyze_prompt_for_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_promptYes분석할 사용자 프롬프트
workspace_pathNo기본 작업영역 경로 (선택사항)/app

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, and the description does disclose the key behavioral trait that this tool only suggests tools (제안합니다) rather than executing actions, which signals non-mutation. It does not clarify what it returns, whether it reads any files, or its confidence/limitations, leaving real gaps for a zero-annotation tool.

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?

A single efficient sentence with the core action front-loaded and no wasted wording. It is dense but well-formed, though the multi-clause structure slightly compresses the purpose.

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?

With two parameters, no annotations, and no output schema, the description should carry more weight in explaining what the analysis returns (e.g., suggested tools, detected intent). It gestures at the output but leaves the return shape and limits underspecified for an analysis tool.

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 both user_prompt and workspace_path are already documented in the schema. The description adds no additional semantics such as prompt format expectations or how workspace_path affects detection, so baseline 3 is appropriate.

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 (analyze) and resource (user prompt) and states the concrete outcome: auto-detecting file/directory requests and suggesting appropriate MCP tools. This clearly distinguishes it from siblings like find_files or read_file_content, which perform actions rather than analyze-and-route, though it does not name any sibling explicitly.

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?

The word 'suggest' implies this is an upstream routing step to run before picking file tools, but the description never states when to use it versus just calling find_files or read_file_content directly, nor any when-not conditions. The usage context is implied rather than explicit.

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