Skip to main content
Glama

cortex_get_project_spec

Retrieve a project's current Living Canonical Specification deterministically, bypassing vector estimation to access authoritative project details.

Instructions

Deterministically retrieve the latest Living Canonical Specification (Zone A + Zone B) of a given project, bypassing vector estimation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "cortex_get_project_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesProject identifier (e.g. 'general' or specific project slug).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses determinism and 'latest' versioning, which is useful, but says nothing about permissions, error behavior when a project has no spec, how drafts/consolidation interact, or what the returned payload looks like.

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 the verb first and no filler. It is slightly penalized because 'Zone A + Zone B' is unexplained jargon occupying prime space in an otherwise tight sentence.

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?

There is no output schema, so the description is the only source of return-value information; it names the artifact but never characterizes its structure, size, or the no-spec case, and 'Zone A/Zone B' is left undefined. Adequate for selection, thin for correct interpretation of results.

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 coverage is 100% and the single project_id is fully documented in the schema with an example, so the description need not explain it. 'of a given project' adds no meaning beyond the schema; baseline 3 applies.

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

Purpose4/5

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

States a specific verb+resource: 'retrieve the latest Living Canonical Specification ... of a given project,' which is far more precise than a restated name. It does not name a sibling or explicitly contrast with cortex_recall, but 'bypassing vector estimation' implicitly marks it as the non-semantic counterpart.

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

Usage Guidelines3/5

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

The phrase 'bypassing vector estimation' hints that this is the choice when exact/deterministic retrieval is wanted rather than semantic recall, but it never says when to use this over cortex_recall or what to do if no spec exists. Usage must be inferred from the determinism contrast.

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