Skip to main content
Glama

get_context

Retrieve the complete project context as formatted text, with optional filtering by dot path to access specific fields like tech stack languages.

Instructions

Get the full project context as formatted text. Optionally filter by dot path (e.g. 'tech_stack.languages').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoProject root directory..
dot_pathNoOptional dot-notation path to get a specific field (e.g. 'project.name', 'tech_stack.languages'). Leave empty to get the entire context.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. It states that output is formatted text and that filtering is available, which is key behavioral information. It does not explicitly mention side effects, but the read-only nature is implied by 'Get'.

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, front-loaded sentence that includes an illustrative example. Every word earns its place, making it efficient and easy to parse.

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?

Given the presence of an output schema and full parameter documentation, the description covers the essential behaviors: full retrieval and optional filtering. It omits explicit alternatives, but the tool is simple enough that the description is nearly complete.

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 the schema already documents both parameters thoroughly. The description only repeats the dot_path filtering example without adding new meaning beyond the schema, providing no additional value.

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's function: retrieving the full project context as formatted text. It also distinguishes itself from sibling context tools by focusing on retrieval (get) rather than modification, and offers a specific filtering option.

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 implies usage: use this when you need the project context, optionally filtered. It does not explicitly exclude alternatives like export_context_markdown, but the clear scope makes it easy to infer appropriate situations.

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/pranjal2410719/dev-mcp'

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