Skip to main content
Glama

Draft Assignment

draft_assignment

Create a template-faithful assignment .docx from markdown-ish content with headings, bullets, figures, and optional style linting.

Instructions

Draft a template-faithful .docx from markdown-ish content text.

content syntax: '## Section' headings, plain lines = BodyText paragraphs, '- item' bullets, '1. item' numbered, 'alt text' figures (caption above, alt text set), '' comments skipped. Image paths resolve relative to WORD_EXPORTS.

date: 'YYYY-MM-DD' (default today). master/output: paths; defaults come from WORD_MASTER / WORD_EXPORTS. skip_metadata=True renders into any plain .docx (content appended, no controls needed). lint=True (default) style-checks the content first and refuses on errors; set lint=False to skip, allow_em_dash=True for mandated em dashes. Returns a human-readable summary including the output path.

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": {
      "content": "<content>",
      "title": "<title>"
    },
    "name": "draft_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
lintNo
nameNo
titleYes
courseNo
masterNo
outputNo
contentYes
doctypeNo
allow_em_dashNo
skip_metadataNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses that lint refuses on content errors, that skip_metadata appends into any plain .docx with no controls, that defaults come from WORD_MASTER/WORD_EXPORTS, and that results come back as a human-readable summary including the output path. What it omits is whether an existing file at 'output' is overwritten and whether the call requires a valid master, which matters for a write tool.

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?

The purpose is front-loaded, then a compact grammar block for the content syntax, then per-parameter notes — dense but well-ordered with no filler sentences. It reads as telegraphic fragments rather than prose, which costs a little readability but wastes no words.

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?

An output schema exists, so the return value need not be explained, and the description still adds a useful line about the summary. For an 11-parameter templating tool with no annotations, however, the missing semantics of name/course/doctype and the undefined overwrite behavior leave genuine holes an agent would hit when calling it.

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 0% across 11 parameters, so the description must compensate, and it does so well for content syntax, date format, master/output defaults, lint, allow_em_dash, and skip_metadata. It adds nothing for name, course, and doctype, leaving three template-related parameters with no stated meaning beyond their names.

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 opens with a specific verb and resource: 'Draft a template-faithful .docx from markdown-ish content text', which tells an agent exactly what is produced and from what input. The phrase 'from ... content text' implicitly separates it from draft_assignment_file, which presumably takes a path, but no sibling is named explicitly, so differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives conditional behavior ('lint=True ... refuses on errors; set lint=False to skip') and default-source information (WORD_MASTER / WORD_EXPORTS), which implies when the tool will and won't succeed. It never states when to reach for lint_style or draft_assignment_file instead, and gives no prerequisites for creating a template-faithful document.

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