Skip to main content
Glama

Social media studio

Render Template

render_template
Read-only

Render a template with provided field values

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": {
      "id": "<id>",
      "fields": "<fields>"
    },
    "name": "render_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTemplate UUID
fieldsYesKey-value pairs for template fields

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered without description help. The description adds nothing beyond the input, though — it does not clarify whether rendering is side-effect free with respect to stored template state, nor what the returned artifact looks like. With annotations carrying the safety burden, a 3 is the right level.

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?

A single clause with no filler, and the resource and input are front-loaded. It is efficient but so terse that concision shades into under-specification rather than economy.

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

Completeness2/5

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

The tool takes a nested free-form object of field values and has no output schema, so the description is the only place to explain what happens when fields are missing, extra, or mistyped, and what the render returns. None of that is present, leaving a real gap for a nested-object tool with no declared return shape.

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 coverage is 100% and both parameters (id as Template UUID, fields as key-value pairs) are documented in the schema itself. The phrase "provided field values" echoes the fields parameter but adds no syntax, validation, or mismatch-handling detail. 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.

Purpose3/5

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

The description gives a specific verb ("Render") and resource ("template") plus the input it needs ("provided field values"), so the basic operation is identifiable. However, it never says what rendering produces — HTML output, a document, a preview, or a message payload — which is the core ambiguity for a render tool. It also does not relate itself to the template siblings (get_template, send_whatsapp_template), so differentiation is left to the name alone.

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 use this rather than get_template or send_whatsapp_template, and no mention of prerequisites such as the template needing to exist or fields needing to match the template's declared schema. The agent must infer the entire usage context from the tool name.

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