Skip to main content
Glama

get_current_context

Resolve your current workspace coordinates by providing a directory path. Returns repository name, monorepo component, and active technology stack.

Instructions

Resolves the repository name, monorepo component, and active technology stack for a given directory path.
Use this to determine the exact coordinates of your current workspace.

Parameters:
  - directory: The absolute path of the current workspace directory (REQUIRED).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not disclose behavioral traits such as being read-only, side effects, or required permissions. A read operation is implied but not stated explicitly, leaving ambiguity.

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 concise: two sentences plus a clear parameter bullet point. It is front-loaded with the main purpose, and every sentence adds value with no wasted words.

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?

Given the tool has one parameter, no output schema, and no annotations, the description lacks details about the output format or possible errors. While the purpose is clear, the absence of return value information may hinder an agent's ability to use the result correctly.

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?

The schema has 0% description coverage for its single parameter. The tool description adds meaning by specifying that the directory must be an absolute path and that it is required, compensating partially for the schema gap. However, no further details on format or constraints are provided.

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

Purpose5/5

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

The description clearly states the tool resolves repository name, monorepo component, and technology stack for a directory path, which is a specific verb+resource. It distinguishes from sibling tools like get_recent_merged_changes or store_lesson by focusing on context resolution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Use this to determine the exact coordinates of your current workspace,' providing a clear usage context. It does not mention when not to use or alternatives, but the context is clear and the tool's purpose is distinct from siblings.

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/r-darwish/daruma'

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