Skip to main content
Glama

writing_pack

Builds a deterministic package—plan, brief, tasks, and allowed citations—so an AI harness can execute structured writing workflows with clear constraints.

Instructions

Build a deterministic writing pack (plan, brief, tasks, allowed citations) for the AI harness to execute.

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": {
      "workspace": "<workspace>"
    },
    "name": "writing_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo
titleNo
topicNo
phasesNo
run_idNo
outlineNo
abstractNo
main_texNo
sectionsNo
workspaceYes
provenanceNo
cite_roundsNo
key_sourcesNo
thesis_typeNo
instructionsNo
context_pathsNo
document_kindNo
document_pathNo
main_tex_pathNo
thesis_profileNo
reference_pathsNo
research_designNo
locators_payloadNo
provenance_blockNo
require_locatorsNo
bibliography_pathNo
min_grounding_ratioNo
context_budget_bytesNo
min_words_per_sectionNo
reference_budget_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv4.2.0
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties
      Added value: +{
      +  "abstract": {},
      +  "bibliography_path": {},
      +  "cite_rounds": {},
      +  "context_budget_bytes": {},
      +  "context_paths": {},
      +  "depth": {},
      +  "document_kind": {},
      +  "document_path": {},
      +  "instructions": {},
      +  "key_sources": {},
      +  "locators_payload": {},
      +  "main_tex": {},
      +  "main_tex_path": {},
      +  "min_grounding_ratio": {},
      +  "min_words_per_section": {},
      +  "outline": {},
      +  "phases": {},
      +  "provenance": {},
      +  "provenance_block": {},
      +  "reference_budget_bytes": {},
      +  "reference_paths": {},
      +  "require_locators": {},
      +  "research_design": {},
      +  "run_id": {
      +    "type": "string"
      +  },
      +  "sections": {},
      +  "thesis_profile": {},
      +  "thesis_type": {},
      +  "title": {},
      +  "topic": {},
      +  "workspace": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / required
      Added value: +[
      +  "workspace"
      +]
  2. First observedv4.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral burden. It asserts determinism and an execution target, but says nothing about side effects, whether artifacts are written to disk, permission or workspace requirements, idempotency of run_id, or what the caller receives.

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 single sentence is compact and front-loads the verb and deliverable, with the parenthetical efficiently listing outputs. Its brevity is achieved by omission rather than by disciplined editing, leaving a 30-parameter tool severely under-specified.

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

Completeness3/5

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

Incomplete given the tool's complexity placeholder; however, with 30 undocumented parameters this description cannot be considered complete. The description identifies the artifact but not the inputs, constraints, or return behavior needed to invoke it correctly.

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?

Thirty parameters with 0% schema description coverage and no meaningful type information are left entirely undocumented by the description. Fields like depth, provenance, cite_rounds, thesis_profile, and min_grounding_ratio are opaque to an agent from both schema and prose.

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 states a specific verb ("Build") and resource ("writing pack") and enumerates the artifact's contents (plan, brief, tasks, allowed citations). It does not, however, distinguish this tool from close siblings such as writing_plan, writing_task, or pack_plan.

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 guidance on when to call writing_pack versus writing_plan, writing_task, pack_plan, or pack_scaffold. The phrase "for the AI harness to execute" hints at a downstream consumer but does not tell an agent which conditions select this tool.

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