Skip to main content
Glama

pwd

Read-onlyIdempotent

Prints the current working directory to confirm the location where commands and file operations will run.

Instructions

Prints the current directory

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, and the description's "prints" wording is fully consistent with them. It adds no further behavioral context (e.g., that the result is a single path string), but for a trivial non-mutating tool with complete annotation coverage there is little left to disclose.

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, hedging, or restatement of the tool name. Nothing could be removed without losing information.

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?

An output schema exists so return values need no explanation, and zero parameters means no argument documentation is required. The only residual gap is the absence of routing guidance versus cd/ls, which is minor for such a primitive operation.

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

Parameters4/5

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

The input schema is an empty object with no parameters, so the baseline of 4 applies; there is nothing the description could meaningfully add about argument meaning.

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?

"Prints the current directory" gives a specific verb and resource, and the semantics are unambiguous even without naming the Unix-like convention. It is distinct from siblings such as cd (changes directory) and ls (lists contents), though it doesn't differentiate from them 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?

No explicit when-to-use or when-not-to-use guidance is given, and no sibling (cd, ls) is named as an alternative. For a zero-argument, side-effect-free query the implied usage is self-evident, which is the minimum-viable bar rather than a strength.

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