Skip to main content
Glama

get_project_context

Return concise, token-optimized project context for AI coding agents, enabling faster orientation within a JavaScript or TypeScript codebase without executing code.

Instructions

Return concise, token-optimized project context for AI coding agents.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

C2.9/5.0
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 behavioral burden. It implies a read-only operation via 'Return' but says nothing about what the payload contains, how large it is, whether it is cached or scoped to a workspace, or what happens on a fresh/empty project.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; 'concise, token-optimized' is doing real work about the shape of the output. It is efficient, though it spends its limited budget on framing rather than on concrete content.

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?

The tool is structurally simple (zero params, no nested objects), which lowers the bar, but there is no output schema and no annotation coverage. With nothing else describing the return value, the description should say what 'context' actually comprises; as written, an agent must call it blind to find out.

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 tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline of 4 applies; the description is not penalized for omitting parameter guidance that cannot exist.

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

Purpose3/5

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

The verb 'Return' and resource 'project context' are stated, along with a value claim ('concise, token-optimized'), but 'project context' is left undefined — an agent cannot tell whether this yields file trees, symbol summaries, or diagnostics. It also fails to distinguish itself from close siblings like analyze_project and get_project_diagnostics.

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?

The only usage signal is the audience phrase 'for AI coding agents', which describes the consumer rather than the situation. There is no when-to-use, no when-not-to-use, and no mention of the six sibling tools that could plausibly serve overlapping needs.

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