Skip to main content
Glama

Template Examples

find_template_examples
Read-onlyIdempotent

Find ready-to-run Carbone template examples for invoices, labels, reports, contracts, and features like loops, charts, or barcodes, each with JSON data and render arguments.

Instructions

Find a ready-to-run Carbone example: when the user wants to try Carbone, needs a starting template, or asks how to build a kind of document (invoice, label, report, contract, e-invoice...) or use a feature (loop, chart, barcode...). Each example is a real template (DOCX, XLSX, PPTX, ODT, HTML, SVG, CSV, XML, IDML...) with its JSON data, the document it produces, and a page explaining its tags. Each comes with renderArguments: pass them, unchanged, to render_document to fill it with its data (converting it is optional). inspect_template on its template URL lists the data it expects; upload_template keeps it in the account to adapt. No argument: the newest examples and the use cases.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_template_examples"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOne example, by its id.
kindNo"gallery": complete business documents. "format-guide": one feature of one format, for beginners.
levelNo
limitNo1 to 25 results (default 8).
queryNoKeywords, e.g. "invoice barcode", "excel chart", "shipping label", "pdf form".
useCaseNoA use case: finance, logistics, reports, compliance, tickets, planning, presentations, publishing.
resultFormatNoGenerated format, e.g. "pdf", "xlsx", "csv".
templateFormatNoTemplate format, e.g. "docx", "xlsx", "html".

Output Schema

NameRequiredDescriptionDefault
totalYesHow many examples match (more than listed when above the limit).
examplesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: each result bundles the template file, its JSON data, the produced document, and an explanatory tag page. It stops short of describing result ordering/pagination beyond the default, but the output schema covers the return shape.

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 lead is front-loaded with the trigger conditions before the mechanics, and the sentences are dense but purposeful. It is on the long side and the parenthetical format lists (DOCX, XLSX, PPTX, ODT, HTML, SVG, CSV, XML, IDML...) cost more than they return, but no sentence is pure filler.

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?

For an 8-parameter, all-optional discovery tool with an output schema and full annotations, the description covers purpose, triggers, default behavior, and the follow-up workflow across three sibling tools. An agent can select and invoke it correctly without consulting anything else.

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 88%, so the schema already documents id, kind, level, limit, query, useCase, resultFormat and templateFormat. The description only adds one semantic detail beyond that — the no-argument default of newest examples and use cases — plus the meaning of renderArguments as pass-through values, which is additive but modest against an already well-documented schema.

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?

States a specific verb and resource ('Find a ready-to-run Carbone example') and immediately scopes it to concrete document types (invoice, label, report, contract, e-invoice) and features (loop, chart, barcode). This clearly separates it from siblings like list_templates or inspect_template without the agent needing to open any schema.

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

Usage Guidelines5/5

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

Gives explicit triggering conditions ('when the user wants to try Carbone, needs a starting template, or asks how to build a kind of document'). It goes further by routing downstream work: renderArguments go to render_document, inspect_template shows expected data, upload_template persists a copy. It also states the no-argument default (newest examples and use cases), leaving little to inference.

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