Skip to main content
Glama

context_for_task

Retrieve a budgeted Markdown context pack for the current development task. Get task-scoped project facts up to a set character limit, so you can start work grounded without information overload.

Instructions

Get a budgeted Markdown context pack for the current development task. Use at task start and expand only selected refs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes
localeNo
maxCharsNo
focusRefsNo
budgetCharsNo
projectRootNo
taskContextIdNo
includeStructuredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.3
    • addedInput schema / properties / budgetChars
      Added value: +{
      +  "default": 12000,
      +  "maximum": 48000,
      +  "minimum": 4000,
      +  "type": "integer"
      +}
    • addedInput schema / properties / taskContextId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose that output is Markdown, budgeted, and that refs should be expanded selectively, but it does not describe output shape, budget semantics, or any side effects or prerequisites.

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 front-loaded sentences with no repetition or filler. The first sentence delivers the core operation and the second adds a targeted usage rule; every word earns its place.

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?

Eight parameters with zero schema descriptions, no annotations, and no output schema make this description insufficient for reliable invocation. It provides a starting point and usage stage, but leaves most parameter decisions and behavioral expectations unspecified.

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%, so the description must compensate. It only hints at semantics through 'budgeted' and 'selected refs' and never explains required 'task', focusRefs, budgetChars, projectRoot, locale, or includeStructured.

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 first sentence names a specific action ('Get'), a concrete deliverable ('budgeted Markdown context pack'), and a scope ('current development task'), so a model can tell what the tool produces. It does not explicitly contrast with siblings like project_map or plan_context, so it falls just short of full differentiation.

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?

'Use at task start' gives an explicit temporal trigger, and 'expand only selected refs' is a concrete usage instruction. There is no mention of when not to use it or which sibling tools should be preferred.

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