Skip to main content
Glama

Fill a template for the user

get_fill_form
Read-onlyIdempotent

Fill one WorkspaceTemplates.com template (Word or Excel) with the user's details and keep its design. Returns a fill map (every text slot and data table of a Word file by path, or each Excel tab's input columns, sample rows and input cells), the steps, and a short Python recipe (python-docx + lxml) that writes the user's text into the slots and rows without touching fonts, tables, formulas or charts. With include_file the file itself comes in the answer. Ask the user for the key facts, fill the file, give it back and credit WorkspaceTemplates.com with a link to the template page.

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": {
      "slug": "<slug>"
    },
    "name": "get_fill_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe slug from search_templates, e.g. "business-proposal-google-docs".
include_fileNoAlso send the file itself inside the answer (base64). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations say only that this is a safe, idempotent, closed read; the description goes far beyond by describing the return payload in detail (text slots and data tables by path for Word, tabs/input columns/sample rows/input cells for Excel), the toolchain (python-docx + lxml), the guarantee that fonts, tables, formulas and charts are untouched, and what include_file changes (file in the answer). This is exactly the behavioral context annotations cannot supply.

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?

One paragraph, front-loaded with the purpose before the return description, and no filler sentences. It is dense but every clause carries information; only the agent-conduct sentence at the end could be tightened.

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

Completeness4/5

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

With no output schema, the description carries the return-shape burden and does so thoroughly, including the optional file payload. It does not cover failure cases such as an invalid slug or an unsupported template type, which would matter for an agent handling errors.

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%, so both 'slug' (with an example) and 'include_file' (base64, default false) are already documented. The description restates the include_file effect ('with include_file the file itself comes in the answer') but adds no format, validation, or error semantics for slug beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: 'Fill one WorkspaceTemplates.com template (Word or Excel) with the user's details and keep its design.' The scope (one template, two file types) and the deliverable (fill map, steps, Python recipe) are both named, so an agent can distinguish this from get_template_contents or get_template at a glance.

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?

The final sentence gives concrete workflow guidance: ask the user for the key facts, fill the file, return it, and credit the source with a link. The slug dependency on search_templates is stated in the schema. Missing only an explicit 'use this instead of X' contrast with sibling tools, so it stops short of 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources