Skip to main content
Glama

get_context_summary

Generates a focused workspace summary for AI context, optionally including code examples, so assistants can understand codebases, dependencies, and architecture.

Instructions

Get a comprehensive summary of the workspace for AI context

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_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
focusAreaNoSpecific area to focus on (e.g., "frontend", "backend", "testing")
includeExamplesNoInclude code examples in the summary

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 implies a read-only operation but says nothing about cost, whether the whole workspace is traversed, how large the resulting summary is, or what it contains. For a workspace-wide aggregation tool with zero structured safety/behavior metadata, this is a significant gap.

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 no filler or redundancy. It is well-formed, though its brevity is partly the cause of the missing behavioral detail rather than pure efficiency.

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?

This is an aggregation tool over an entire workspace with no output schema to describe the return shape and no annotations to describe safety or cost. The description should at minimum say what sections the summary covers and roughly how expensive the call is; it does neither.

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 description coverage is 100%, with both focusArea and includeExamples fully documented including a default, so the schema already does the work. The description adds no additional meaning about how focusArea scopes the summary or what counts as an 'example', so the 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?

The description uses a specific verb ('Get') and resource ('a comprehensive summary of the workspace'), and adds the qualifier 'for AI context', so the agent knows the output is an LLM-facing digest rather than raw data. It does not, however, distinguish itself from siblings like analyze_workspace or get_project_patterns, which sound adjacent.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The phrase 'for AI context' weakly implies it should be called at the start of a session, but the agent must infer that entirely.

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