Skip to main content
Glama

company_context_compile

Compile structured, cited company context for an agent task, respecting a token budget to keep responses focused.

Instructions

Compile structured, cited, token-budgeted context for an agent task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes
as_ofNo
clearanceNorestricted
tenant_idNolocal
project_idNo
groups_jsonNo[]
principal_idNolocal-user
token_budgetNo
projects_jsonNo[]
memory_types_jsonNo[]
include_candidatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.3

TDQS

D1.9/5.0
Behavior1/5

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

Annotations are not provided, so the description carries the full burden. It mentions three key behaviors (structured, cited, token-budgeted) that are beyond the schema, which is valuable. However, it does not disclose any side effects, whether the tool reads or writes, how it sources citations, or if it performs expensive operations. The description is too terse to provide meaningful transparency, and the tool name suggests a compile operation but the description doesn't clarify if it persists or just returns output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise (one sentence), which is generally good. However, it is so terse that it sacrifices necessary detail. It is front-loaded with the main action, but the lack of any elaboration makes it under-specification rather than efficient conciseness. Every word earns its place, but more words are needed.

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

Completeness1/5

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

With 11 parameters, 0% schema coverage, no output schema, and no annotations, this description is grossly incomplete. An agent cannot determine what inputs are required, how they interact, what output format to expect, or what side effects occur. Tools like this typically need far more detail to be usable.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not explain any of the 11 parameters. The 'task' parameter is central but not described. The 'token_budget' parameter aligns with 'token-budgeted' in the description, but no specifics on how the budget is applied. For a tool with 11 parameters and 0% schema coverage, the description must compensate but does not.

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?

The description states 'Compile structured, cited, token-budgeted context for an agent task,' which specifies a verb (compile) and a resource (context) with attributes (structured, cited, token-budgeted). However, it is quite generic and does not distinguish itself from siblings like 'company_session_understand' or 'get_project_context' which also compile context. It adds the concept of 'compiling' but lacks specificity about what kind of context or how it relates to the tool's parameters.

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?

It does not say when to use this tool vs alternatives. It does not mention that this is for preparing context before a task (the 'task' parameter), nor does it contrast with siblings like 'search_memory' for finding specific memories or 'get_project_context' for scope-specific context. There is no guidance on prerequisites, task types, or exclusions.

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