Skip to main content
Glama

Inspect Workspace

inspect_workspace
Read-only

Analyze a workspace and return a structured repository map covering languages, project types, entrypoints, symbols, relationships, and coverage warnings, with configurable depth and limits.

Instructions

Build a bounded repository map with languages, project types, entrypoints, areas, symbols, relationships, and coverage warnings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoAnalysis depth. inventory/inventory_only skips symbol extraction; symbols skips dependency graph construction. Default: full, or inventory when symbols and relationships are disabled.
pathNoOptional workspace-relative area to emphasize. Default: entire workspace.
cursorNoOpaque continuation token from a previous limited response.
max_filesNoMaximum returned file records. Default: 300.
max_symbolsNoMaximum returned symbols. Analysis remains bounded by server config.
workspace_idNoWorkspace id from open_workspace. Omit to use default workspace.
include_symbolsNoInclude symbols in structured output. Default: true.
max_relationshipsNoMaximum returned relationships. Analysis remains bounded by server config.
include_relationshipsNoInclude relationships in structured output. Default: true.
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds 'bounded' and 'coverage warnings,' hinting at output limitations, but it does not discuss pagination, truncation behavior, or analysis cost. This is adequate given the annotations, but not rich.

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?

The description is a single sentence with no filler. It front-loads the core action and output scope, then enumerates the components compactly. Every word 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?

For a tool with 9 parameters and no output schema, the description gives only a high-level output list. It does not cover mode selection, pagination/default limits, or when to choose this over siblings. The input schema fills parameter details, but the overall invocation context remains thin.

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 parameter semantics are already fully documented. The description does not repeat parameter details, but it aligns output concepts like symbols and relationships with include_symbols and include_relationships, adding marginal context. 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 uses a specific verb ('Build') and resource ('bounded repository map') and enumerates the map's contents: languages, project types, entrypoints, areas, symbols, relationships, and coverage warnings. This clearly distinguishes it from file-level tools like read or tree, though it does not explicitly name any sibling alternative.

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 guidance on when to use inspect_workspace versus related tools like tree, search, or list_workspaces. No conditions, exclusions, or alternative-routing hints are provided; the only signal is the tool's name.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nippori709/AgentDock'

If you have feedback or need assistance with the MCP directory API, please join our Discord server