Skip to main content
Glama

unity_get_project_context

Retrieve project-specific context, guidelines, and architecture documentation stored in Unity's MCP Context folder. Call this early to understand project conventions and improve AI assistance.

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 are provided, so the description carries full burden. It implies the operation is safe and non-destructive by stating it retrieves documentation, but does not explicitly confirm read-only behavior or discuss potential errors, limitations, or authentication needs.

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 brief and to the point, with key information front-loaded. It uses imperative language and an 'IMPORTANT' highlight for key usage timing, with no superfluous content.

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?

For a simple retrieval tool with two optional parameters, the description covers purpose, usage timing, and parameter options. However, it lacks details on output format, error handling (e.g., missing category), or behavior when no context exists. Overall sufficient but could be enhanced.

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 description coverage is 100%, but the description adds value beyond schema by clarifying that omitting category returns all context. It also reinforces the port parameter's role, though that is already clear in schema.

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 retrieves project-specific context and documentation prepared for AI agents, including specific examples like project guidelines and architecture docs. It uniquely identifies the tool's role among siblings.

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 advises to call early in the session and explains when to omit or include arguments. However, it does not mention cases where the tool should not be used or provide explicit alternatives, which would strengthen 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