Skip to main content
Glama

get_project_context

Fetch the full PROJECT_CONTEXT.md for any project. Get canonical description, decisions, and architecture to answer project-specific questions with complete context.

Instructions

Return the full PROJECT_CONTEXT.md for a specific project.

Returns the markdown content as a string, including front-matter if present.

USE WHEN: you need the canonical project description, decisions, and architecture before answering a project-specific question. NOT FOR: live activity — use get_activity_summary for that.

BEHAVIOR: pure read. Returns empty string if the project has no PROJECT_CONTEXT.md.

PARAMETERS: project_id: project slug as returned by list_projects or get_active_project. Required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Describes behavior as 'pure read' and explains return value (markdown string, empty string if no context). Without annotations, this is clear but could be more detailed (e.g., no side effects, idempotent).

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?

Very concise with structured sections (USE WHEN, NOT FOR, BEHAVIOR, PARAMETERS). No wasted words, front-loaded with main purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given output schema exists, description covers usage, return value, parameter guidance, and exclusion. No gaps for this simple read tool.

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?

Adds meaning beyond schema by specifying parameter format: 'project slug as returned by list_projects or get_active_project.' Schema coverage is 0%, so this is crucial and well done.

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?

Description clearly states it returns the full PROJECT_CONTEXT.md content for a specific project, using verb 'returns' and specifying the resource and scope. Distinguishes from sibling get_activity_summary.

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

Usage Guidelines5/5

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

Explicitly provides 'USE WHEN' and 'NOT FOR' conditions, recommending an alternative tool (get_activity_summary) for live activity.

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/ContextPulse/contextpulse'

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