Skip to main content
Glama

elaichi__template__get

Read-onlyIdempotent

Read one template definition and its entries. Returns a NESTED object — { template: { id, name, description, … }, entries: [...], access } — so the name is result.template.name, never result.name, and the entry list is result.entries; access is the caller’s own level ("owner" | "edit" | "use" | "view") — "use" is what authorizes toolbox.create with this id as template_id. Entries here never carry connection_id: a template pins nothing. Errors when the id is unknown or the caller cannot see it — visible meaning owned by them, shared with them or one of their teams, or shared org-wide, and ONLY that: template:view/:manage does not widen it, there is no visibility parameter here or on GET /template/:id, and an admin auditing the organization reads nothing they were not given. Unlike role.get, team.get and the governance reads, it never answers null, so there is no null to interpret. Always read this before template.set_entries, which replaces entries wholesale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTemplate id (`tpl_…`) from template.list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as read-only and idempotent, but the description adds substantial behavioral detail: the exact nested response shape, the caller's access level, error conditions for unknown or invisible ids, the permission semantics of visibility, and the fact that this tool never returns null. This goes well beyond the annotation baseline.

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 dense but every sentence earns its place. It front-loads the core purpose and return-nesting warning, then covers access levels, error/visibility semantics, null behavior, and the relationship to template.set_entries without repetition. The structure guides an agent from immediate invocation details to edge-case behavior.

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 a single-parameter read tool with no output schema, the description is remarkably complete. It covers return shape, access semantics, permission boundaries, error behavior, and the important workflow of reading before template.set_entries. Nothing an agent needs to call this correctly is missing.

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?

The input schema already fully documents the single `id` parameter with its format (`tpl_…`) and source (template.list), so the description adds little parameter-level meaning. It mentions using the id as template_id for toolbox.createtons, but that is more about downstream authorization than the parameter itself.

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 opens with a specific verb and resource: 'Read one template definition and its entries.' It clearly identifies this as a single-item read and later contrasts it with role.get/team.get/governance reads, distinguishing it from sibling tools even without seeing their schemas.

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?

The description explicitly instructs 'Always read this before template.set_entries,' giving a concrete workflow where this tool is required. It also explains how the returned `access` value ('use') authorizes toolbox.create, and contrasts the null behavior with role.get/team.get so an agent knows when not to expect a null result.

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