Skip to main content
Glama

cortex_get_context

Fetch recent records from chosen collections in one project to review claims, assumptions, evidence, and reviews; returned results are summaries.

Instructions

Recover recent records for selected collections in one project. Review results are summaries.

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>",
      "include": "<include>"
    },
    "name": "cortex_get_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
includeYes
project_idYes

Output Schema

NameRequiredDescriptionDefault
claimsNo
reviewsNo
evidenceNo
project_idYes
assumptionsNo
assumption_eventsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 burden and mostly drops it. It never states that this is a read-only operation, whether results are cached or fresh, or what "recent" means in time terms; the one real disclosure, "Review results are summaries," is a useful but isolated caveat.

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?

Two short sentences with no filler, and the primary action is front-loaded. The second sentence is terse to the point of being cryptic, but nothing is padded or redundant.

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

Completeness2/5

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

An output schema exists, so return shape is partly covered elsewhere, but for a no-annotation, zero-coverage-schema tool the description is thin. It omits read-only status, the meaning of "recent," the limit cap, and any guidance on selecting collections, leaving an agent to guess before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters. The description partially covers project_id and include ("selected collections in one project") but says nothing about limit or its hard maximum of 20, and never explains the enum values or the ordering semantics of "recent." It compensates for only about half the gap.

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?

"Recover recent records for selected collections in one project" gives a verb and a scope (single project, chosen collections), but "recover" and "collections" are domain jargon that map only loosely to the include enum (claims, assumptions, evidence, reviews). It never distinguishes this fetch from siblings like cortex_review or cortex_health, so an agent must infer that this is the bulk read path.

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?

There is no when-to-use guidance, no statement of prerequisites (e.g. that a project_id must already exist), and no mention of alternatives. Nothing tells the agent when to pick this over cortex_review or cortex_health; usage is only implied by the word "recent".

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