get_working_directory
Retrieves the absolute path of the current working directory for file operations and terminal commands.
Instructions
Get the current working directory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Retrieves the absolute path of the current working directory for file operations and terminal commands.
Get the current working directory
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description implies read-only behavior but does not explicitly state that there are no side effects or permissions needed. With no annotations, the description carries the burden, and it provides minimal transparency beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence of five words, perfectly concise. Every word contributes to the meaning. No unnecessary information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is adequate for a simple getter with no parameters, but it lacks details about the return format. Without an output schema, the agent is left guessing whether the result is a string path or an object.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, so schema coverage is 100%. The description adds no parameter information, which is acceptable given zero parameters. Baseline 4 applies due to no parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Get' and clearly identifies the resource 'current working directory'. It is unambiguous but does not differentiate from siblings like 'get_environment' or 'list_directory'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like 'list_directory' (which also involves the working directory) or 'get_environment'. The agent is left without context for tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sukarth/coding-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server