Skip to main content
Glama

List template variables

list_template_variables
Read-only

The {{variables}} a template can use. variables are the organization's own custom ones (name, defaultValue: the text that replaces {{name}}); systemVariables are PostRite's (org_name, date, day_of_week, month, year, platform, post_date), filled in when a post is made from a template — create_post with templateId does it with the organization's name, today's date in its timezone, and {{platform}} per network inside a network's own text override. Variables an automation fills from an event (a stream title) only resolve inside that automation. A {{name}} that matches nothing stays literal in the post.

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": "list_template_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
organizationIdNoOrganization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one.

Output Schema

NameRequiredDescriptionDefault
totalNo
variablesNoThe organization's custom variables
systemVariablesNoPostRite's own variables, resolved when a post is made from a template

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description adds real substance beyond them — how system variables resolve (org name, today's date in the org's timezone, per-network {{platform}} inside a network's text override), that automation-event variables resolve only inside that automation, and that unmatched {{name}} stays literal. A 3 reflects that these are resolution semantics rather than operational traits of the call itself; nothing is said about scope of returned sets, latency, or whether results are cached.

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

Conciseness3/5

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

Word count is reasonable and the core statement is front-loaded, but the body is one long semicolon-chained paragraph that interleaves template syntax, variable taxonomy, and post-generation behavior. The {{platform}}-inside-override clause in particular is hard to parse on first read and would benefit from being split or bulleted.

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?

An output schema exists, so return values need not be explained, and the description covers the semantics an agent actually needs — what custom vs system variables are and how unresolvable placeholders behave. The main gap is the absence of usage guidance tying this call to create_post or create_template_variable.

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 organizationId parameter is fully documented in the schema ('required when this connection was authorized for more than one organization'). The description contributes nothing about that parameter — its mention of 'org_name' is a system variable, not the input — so the baseline 3 applies.

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?

Names a specific resource with its two subtypes — the organization's custom `variables` (name, defaultValue) and PostRite's `systemVariables` (org_name, date, platform, etc.) — so an agent knows exactly what comes back. The verb is only implicit ("The {{variables}} a template can use"), and it never contrasts with list_templates or list_template_variable siblings, but the resource is described more precisely than the title 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 explicit when-to-use or when-not-to-use guidance and no named alternative. The closest thing is contextual: system variables are "filled in when a post is made from a template — create_post with templateId does it", which hints this is a discovery call before that flow, but the agent must infer the trigger condition.

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