Skip to main content
Glama

UI Inspect File

app_inspect_file

Deeply inspect discovered skill and rule files to surface broken references, conflicting directives, and other issues that can affect agent behavior.

Instructions

App-only deep file inspection for discovered skills and rules

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": {
      "filePath": "<filePath>"
    },
    "name": "app_inspect_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYes
workspaceDirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the entire behavioral burden, and it discloses almost nothing. "Inspection" implies a read, but the agent is not told whether the file is parsed, executed, or evaluated, whether any state is modified, what errors look like, or what the result contains. "App-only" gestures at a permission model without explaining it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is one short phrase with no wasted words, which is nominally concise, but the brevity comes from omission rather than discipline. It reads as a title fragment rather than a front-loaded purpose statement an agent can act on.

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

Completeness1/5

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

With no annotations, no output schema, 0% parameter coverage, and a description that is essentially a label, there is not enough information to invoke this tool correctly. "Deep inspection" suggests meaningful behavior and possibly expensive or side-effecting work, none of which is described.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description is the only possible source of meaning for filePath and workspaceDir — and it mentions neither. The agent is left to guess whether filePath is absolute or relative, whether it must reside under workspaceDir, and what workspaceDir defaults to.

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

Purpose3/5

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

"Deep file inspection" names a verb and resource, and "app-only" hints at a restricted operating context, but the phrase "for discovered skills and rules" is vague — it is unclear what a "discovered" skill is or how inspection differs from the sibling tools' diagnostics. The definition is a single fragment rather than a stated purpose, and an agent cannot distinguish it from app_diagnose or inspect_skill_health on the basis of this text.

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?

"App-only" is the only contextual hint, and it is not explained — it does not tell the agent what condition or caller qualifies. There is no statement of when to reach for this over the five diagnostic siblings, no prerequisites, and no exclusions.

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