Skip to main content
Glama

get_context

Retrieves current task, constraints, decisions, project memory, and drift warnings for a repository so AI agents begin each session aligned.

Instructions

Current task, constraints, decisions, project memory and drift warnings for this repo. Call at session start.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_context"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; listing the returned content categories implies a read-only snapshot but never confirms no state is mutated, whether results are cached or repo-scoped by path, or how large the payload may be. For a zero-parameter retrieval tool the risk is low, so this is adequate rather than deficient.

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?

Two short sentences: the content enumeration first, the call timing second. Every clause earns its place, and nothing is padded or repeated from structured fields.

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?

There is no output schema, so the content enumeration in the description is doing real work in telling the agent what comes back. For a zero-param read tool this is nearly complete; only the return shape/format and any size expectations are left unstated.

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?

The tool takes no parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description makes clear the repo scope is implicit rather than parameterized, which is the only nuance worth flagging.

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?

The description names the resource precisely by enumerating what it returns (current task, constraints, decisions, project memory, drift warnings) and scopes it with "for this repo". It is implicitly a read, which contrasts with the write-oriented siblings (add_constraint, add_decision, update_memory), though it never states the verb or explicitly distinguishes itself from them.

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?

"Call at session start" gives a concrete, actionable trigger condition, which is unusually clear for a context-loading tool. It stops short of saying when not to call (e.g. mid-session refresh behavior) or naming alternatives, so it is clear context without exclusions.

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