Skip to main content
Glama

context_fields_template_variables

Returns the complete list of variables that can be used in sequence step templates and compose messages: workspace-defined context fields, discovery company/person fields, and built-in computed variables (e.g. last_message_date). Each entry has key, description, and field_type.

Method: GET /api/v1/workspaces/{workspace_sqid}/context-fields/template-variables/

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose that the call is a read ('Returns'), that the list is complete/exhaustive, and the shape of each entry (key, description, field_type). It does not mention permissions, rate limits, or pagination, but for a parameterless read-only lookup this is solid disclosure.

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?

Front-loaded with the purpose and content categories in one sentence, then the entry shape. The trailing 'Method: GET /api/v1/...' line adds little for an agent that never constructs URLs, but it is a single short line and does not obscure the main content.

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?

There is no output schema, yet the description compensates by naming the per-entry fields, and with zero parameters there are no input ambiguities. What an agent needs to decide to call it and interpret the result is largely present; only auth or failure behavior is unstated, which is minor for this tool class.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to add beyond confirming that no input is needed; the baseline for a parameterless tool applies.

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: it returns the complete list of variables usable in sequence step templates and compose messages. It also enumerates the three categories covered (workspace context fields, discovery company/person fields, built-in computed variables) and names an example, which makes it clearly distinct from sibling tools like context_fields_facets or workspaces_context_fields_list.

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?

Usage is only implied: an agent can infer that this is the discovery step before composing templates or messages, but the description never says when to use it, when not to, or what alternative to pick. No prerequisites or exclusions are named.

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.