Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

list_templates

List message templates from the 1msg Chat API with pagination and sorting, so you can browse available templates by ID, name, or status before sending messages.

Instructions

List message templates. Paginate with limit / offset; sort by id, name, or status.

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_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
limitNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.10
    • addedInput schema / properties / limit
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": "id",
      +      "type": "string"
      +    },
      +    {
      +      "const": "name",
      +      "type": "string"
      +    },
      +    {
      +      "const": "status",
      +      "type": "string"
      +    }
      +  ]
      +}
  2. First observedv1.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly does not: it doesn't confirm this is a read-only operation, what the default sort/order is, whether all template statuses are returned, or whether either pagination parameter is required. Pagination behavior is the one trait it does disclose.

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?

Two short sentences, front-loaded with the purpose and followed by operational detail; no filler or redundancy. Every clause carries information an agent can act on.

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

Completeness3/5

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

For a three-parameter list tool with no output schema and no annotations, the description covers the call mechanics but leaves the return shape, defaults, and result ordering unspecified. Adequate to invoke, not adequate to predict the response.

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 0%, so the description must compensate. It explains that limit/offset drive pagination and enumerates the valid sort keys (id, name, status), which mirrors the schema enum, but adds only the word "sort" as semantic meaning — no defaults, units, ranges, or ordering direction.

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?

States a specific verb and resource ("List message templates"), which clearly separates it from add_template, remove_template, and send_template among the siblings. It doesn't clarify how it differs from list_messages or list_flows beyond the noun, but the resource is unambiguous.

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?

The description says how to paginate and sort but never when an agent should call this versus alternatives, nor what prerequisites exist (e.g. account/WABA scoping). The only procedural guidance is mechanical usage of limit/offset.

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