Skip to main content
Glama

Get what is inside a template

get_template_contents
Read-onlyIdempotent

Get the structure of one WorkspaceTemplates.com template so you can fill it in for the user: for spreadsheets each tab's tables with column names, example values, formulas, number formats and dropdown choices, plus summary figures; for documents the headings, text and tables in order; for slides each slide's text. Also returns download links and, with include_file, the .docx, .xlsx or .pptx file itself (up to 512 KB) as an embedded resource. Formulas and formatting stay in the file.

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_template_contents"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real behavioral detail beyond them: the 512 KB cap on the embedded file, that the file arrives as an embedded resource in base64, that download links are also returned, and that formulas/formatting remain in the file rather than being rendered. It omits anything about output size/pagination for very large templates, which is the remaining unknown.

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?

Front-loaded with the core action in the first clause, then enumerates return content per format, then the include_file behavior — a logical order with little waste. The single very long opening sentence is dense and would read faster split by format, but every clause carries information.

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

Completeness5/5

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

There is no output schema, and the description compensates fully by describing what is returned for each of the three template types, plus download links and the optional embedded file. For a two-parameter read-only tool with complete annotation coverage, nothing an agent needs in order to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description goes further: it explains what include_file actually yields (the .docx/.xlsx/.pptx as an embedded resource, size-capped) and reinforces that slug originates from search_templates. That is genuine semantic value on top of the schema text.

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?

A specific verb plus resource: 'Get the structure of one WorkspaceTemplates.com template,' with the exact payload enumerated per file type (spreadsheet tabs/tables/formulas, document headings/text/tables, slide text). It never names or contrasts the sibling get_template, so an agent must infer the difference between 'structure' and whatever get_template returns.

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 stated motive 'so you can fill it in for the user' and the schema note that slug comes from search_templates imply the workflow (search → get contents → fill), which is useful context. However, there is no explicit when-to-use/when-not guidance and no statement about when this is preferred over get_template or list_categories.

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