Skip to main content
Glama

Get Clarity Artifact Chat Messages

getClarityArtifactChatMessages
Read-onlyIdempotent

Load the latest artifact-chat messages for one active conversation, returned oldest-first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
process_idYesThe Clarity process id
conversation_idYesThe artifact-chat conversation id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds meaningful behavioral context by specifying that it returns the latest messages and orders them oldest-first, and that the conversation must be active.

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?

The description is a single, well-structured sentence that front-loads the action and includes the key constraints: latest messages, one conversation, active state, and ordering. There is no redundant or filler 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?

For a low-complexity read operation with full schema coverage and safety annotations, the description is sufficient. It names the resource, ordering, and active-conversation requirement; pagination limits and exact response fields are not described but are not critical for correct invocation.

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 100%, with both process_id and conversation_id already clearly documented. The description adds little parameter-level meaning beyond naming the target conversation, but the schema carries the burden adequately.

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 uses a specific verb ('Load') with a clear resource ('artifact-chat messages') and scope ('one active conversation'). It is easily distinguished from sibling tools like listClarityArtifactChatConversations because it targets messages within a single conversation rather than listing conversations.

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 clearly states the context: loading messages for one active conversation. It does not explicitly name alternative tools or exclusion conditions, but the scope is specific enough that an agent can infer when this tool applies.

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.

Resources