Skip to main content
Glama

unity_get_project_context

Fetch project-specific context and documentation from Assets/MCP/Context/ including guidelines, architecture docs, and game design documents. Use early in a session to understand project conventions and architecture. Specify a category for a specific document or omit to get all.

Instructions

Get project-specific context and documentation that the team has prepared for AI agents. This includes project guidelines, architecture docs, game design documents, networking rules, and any other project knowledge stored in Assets/MCP/Context/. Call this without arguments to get ALL context, or specify a category for a specific document. IMPORTANT: Call this early in your session to understand the project's conventions and architecture.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoOptional: specific context category to fetch (e.g. 'ProjectGuidelines', 'Architecture', 'GameDesign', 'NetworkingGuidelines', 'NetworkingCSP', or any custom category). Omit to get all available context.
portNoTarget Unity instance port for parallel-safe routing. Get this from unity_select_instance. When working with multiple Unity instances, ALWAYS include this parameter.
Behavior3/5

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

No annotations provided, so description carries the burden. Describes reading operation ('Get project-specific context...') with no destructive implications. However, does not detail behavior like file structure, error handling, or performance (e.g., loading large amounts of text). Adequate but could be richer.

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?

Three sentences, front-loaded with purpose, then details, then action advice. No wasted words. Highly efficient.

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 simple read operation with no output schema, description is complete: explains what it does, where data lives, how to call, and when to call. No missing information.

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?

Schema already describes both parameters (category optional, port for parallel safety). Description adds value by explaining purpose ('project guidelines, architecture docs...') and contextual importance of port ('Get this from unity_select_instance').

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?

Clearly states the tool retrieves project context/documentation from Assets/MCP/Context/. Distinguishes itself by being the dedicated tool for accessing team-prepared AI agent knowledge, unlike sibling tools that are more technical (e.g., unity_project_info, unity_gameobject_info).

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 advises to call early in the session and to omit arguments for all context or specify a category. The 'IMPORTANT' emphasis provides clear when-to-use guidance.

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/AnkleBreaker-Studio/unity-mcp-server'

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