Skip to main content
Glama
berthelius

Frihet MCP Server

List Gestoria Messages

gestoria_messages_list
Read-onlyIdempotent

Retrieve message history from a client thread, with pagination support to load older messages when needed.

Instructions

List messages in a contextual gestor/cliente thread, newest first. Use before (message ID or ISO timestamp) to paginate backwards through history. Returns up to limit messages plus a hasMore flag so the agent knows when to stop. / Lista los mensajes de un hilo gestor/cliente, mas recientes primero. Usa before (ID o fecha) para paginar hacia atras. Devuelve hasta limit mensajes con flag hasMore.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax messages to return (1-100, default 50) / Mensajes maximos
beforeNoCursor: messages older than this (message ID or ISO date) / Cursor: mensajes anteriores a este
parentIdYesID of the parent entity / ID de la entidad padre
parentTypeYesThread parent kind / Tipo de hilo: documentRequest (solicitud de documento), filingItem (presentacion fiscal), obligation (obligacion fiscal)
workspaceIdYesClient workspace ID / ID del espacio de trabajo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hasMoreYes
messagesYes
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive. The description adds behavioral details: returns messages newest first, supports cursor-based pagination, and includes a `hasMore` flag. No contradictions.

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 concise sentences in English followed by a Spanish translation. No wasted words; purpose, ordering, and pagination are front-loaded. Efficient.

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

Completeness5/5

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

Given the output schema exists, the description adequately covers purpose, ordering, pagination, and the `hasMore` flag. All required parameters are explained in schema, and the description adds the necessary usage context for a list tool.

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?

Schema coverage is 100%, so parameters are well-documented. The description adds semantic value by explaining `before` accept both message ID and ISO timestamp, and by clarifying the pagination behavior with `limit` and `hasMore`.

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?

The description clearly states the verb (List), resource (messages), and scope (contextual gestor/cliente thread). It specifies ordering (newest first) and distinguishes from sibling tools like gestoria_message_send.

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?

The description explains when to use (listing messages in a thread) and provides pagination guidance with `before` and `hasMore`. It doesn't explicitly mention alternatives, but the context is clear.

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

Install Server

Other Tools

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/berthelius/frihet-mcp'

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