Skip to main content
Glama
mkkim2102

finance-mcp-server

by mkkim2102

get_messages

Retrieve up to 200 recent messages from a chat, newest first. Use date or offset filters to page backward through history and analyze past conversations.

Instructions

Get up to 200 recent messages from one chat, newest first.

chat: @username, numeric/marked chat ID (see get_channel_info for resolution notes), or title. since_date: optional cutoff, ISO 8601 (e.g. "2026-08-01" or "2026-08-01T00:00:00+09:00"); results default to the last 7 days when it is omitted. Pass an explicit date to look further back; a very old date effectively means all history. A value with no timezone is treated as UTC. offset_id: only return messages with an ID strictly below this one, useful for paging backward through history. Returns each message's id, ISO date, sender name/id, text, has_media, and media_type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
limitNo
offset_idNo
since_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses ordering, default date window, timezone handling, offset semantics, and return fields. However, it omits the `limit` parameter entirely, and the opening 'up to 200' may mislead given the schema default of 50.

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?

Front-loaded with a clear summary, followed by compact parameter explanations and a return-field list. Every sentence adds relevant information; no fluff.

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?

Rich enough for a read-only messaging tool, especially with output schema present. The main gap is the undocumented `limit` parameter and its relationship to the 'up to 200' claim, which an agent needs to select the right invocation.

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?

At 0% schema description coverage, the description must compensate. It clearly explains chat, since_date, and offet_id, including formats and defaults. The `limit` parameter is missing, so one of four parameters remains semantically unexplained.

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 operation (get messages), the resource (one chat), the quantity/ordering (up to 200, newest first), and implicitly distinguishes from siblings like search_messages and list_dialogs. The scope 'from one chat' makes its role clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear usage context: retrieve recent messages from a single chat, with a default 7-day window and offset-based pagination. It does not explicitly mention alternatives such as search_messages, but the 'one chat' scope and cross-reference to get_channel_info give sufficient guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mkkim2102/finance-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server