Skip to main content
Glama

Postlyra.app — Telegram posts from AI chats

Preview an auto-signature

preview_signature
Idempotent

Use this when managing post auto-signatures. Enable a public read-only preview link and return its JPEG screenshot. This saves sharing state and may fetch external media. Include the image and preview link using display instructions. Never sends to Telegram.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signatureIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
titleNo
localeNo
displayNo
messageYes
richHtmlNo
signatureYes
updatedAtNo
previewUrlNo
screenshotNo
signatureIdYes
documentJsonNo
inlineButtonsNo
screenshotUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedOutput schema / properties / channelId
      Removed value: -{
      -  "maxLength": 128,
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / deliveryDocumentJson
      Removed value: -{
      -  "description": "Composed publication including the selected auto-signature. Edit documentJson, never copy this composition into the post body.",
      -  "type": "object"
      -}
    • removedOutput schema / properties / deliveryInlineButtons
      Removed value: -{
      -  "items": {
      -    "anyOf": [
      -      {
      -        "type": "object"
      -      },
      -      {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    ]
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / draftId
      Removed value: -{
      -  "maxLength": 128,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedOutput schema / properties / id
      Removed value: -{
      -  "maxLength": 128,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedOutput schema / properties / signatureSelection
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "mode": {
      -      "enum": [
      -        "inherit",
      -        "none",
      -        "custom"
      -      ],
      -      "type": "string"
      -    },
      -    "signatureId": {
      -      "maxLength": 128,
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "mode"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / properties / signatureSnapshot
      Removed value: -{
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / status
      Removed value: -{
      -  "maxLength": 64,
      -  "type": "string"
      -}
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that the call persists share state (a public preview link), may fetch external media, and returns an image plus link intended for display. It also states a negative constraint ('Never sends to Telegram'). This is solid added context, though auth/permission requirements are not covered.

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?

Short and front-loaded, but the opening sentence is filler that restates the domain rather than the action, and 'using display instructions' is opaque platform jargon. The Telegram sentence is useful but placed as an afterthought.

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?

With an output schema present, return values need not be explained, and the description still signals the image/link result. The persistent share-state side effect is covered, which is the main behavioral risk; permissions and rate limits are the only notable omissions.

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% and the description says nothing about signatureId, so it does not compensate for the schema gap. The parameter name is self-describing as a signature identifier, which keeps this from being a serious hazard, but no constraint or format meaning is added.

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: enabling a public read-only preview link for an auto-signature and returning its JPEG screenshot. This is meaningfully different from get_signature or preview_post, though neither sibling is named explicitly, so differentiation is left partly to inference.

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?

'Use this when managing post auto-signatures' is broad topic context rather than a use condition; it does not say when to prefer this over get_signature or preview_post. Usage is implied but no alternatives or exclusions are given.

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.