Skip to main content
Glama
deyikong

SendGrid MCP Server

by deyikong

Get Template Details

get_template
Read-onlyIdempotent

Retrieve a specific email template's details and all its versions by providing the template ID. Use this to inspect template content and version history before sending.

Instructions

Retrieve details of a specific template including all versions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYesID of the template to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv1.0.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false). The description adds behavioral context by specifying that all versions are included, which goes beyond the annotations. It does not mention auth or rate limits, but for a simple read operation the annotation coverage lowers the burden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise, grammatically complete sentence with no filler. The key action and the distinctive 'including all versions' scope are front-loaded, making it easy to parse.

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?

For a one-parameter read-only retrieval with no output schema, the description provides sufficient information to invoke the tool correctly: it identifies the resource, the parameter scope, and the return coverage. It does not detail the exact response structure, but this is a minor gap given the tool's simplicity.

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%, and the single parameter template_id is clearly described as the ID of the template to retrieve. The tool description adds no additional parameter-level meaning, so the baseline score of 3 is appropriate.

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?

The description states a specific verb ('Retrieve'), a clear resource ('details of a specific template'), and a distinguishing scope ('including all versions'). This differentiates it from the sibling get_template_version, which targets a single version, and from list_templates, which lists templates.

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 implies the tool is for retrieving a single template with all versions, but it does not explicitly state when to use it over get_template_version or list_templates. There are no exclusions or alternative routing signals, leaving the decision to inference.

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