Skip to main content
Glama

Upload Chat

upload_chat

Upload a chat session to Magnet for tracking and analysis. Returns a view URL to access the session.

Instructions

Upload a chat session to Magnet for tracking and analysis. Returns the created chat with a viewUrl to see it in the web UI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoOptional title override. Auto-generated from first message if not provided.
filePathYesPath to JSON file containing the full chat export (source, sessionId, projectPath, gitBranch, rawPayload)
organizationIdNoOrganization ID. Optional when using API key authentication.
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It reveals that a chat is created and a viewUrl is returned, but does not mention authentication needs, error handling for invalid filePath, or any constraints. Adequate but not thorough.

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?

Extremely concise: two sentences with no wasted words. The purpose and key return value are front-loaded, making it easy to scan.

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 simple creation tool with 3 parameters and no output schema, the description covers purpose, return value with viewUrl, and parameter details via schema. It could mention error cases, but is largely complete for the complexity level.

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 inline descriptions for all 3 parameters. The tool description adds no additional parameter context beyond what the schema already provides, meeting the baseline but not exceeding it.

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?

Description explicitly states the verb (Upload), resource (chat session), and purpose (tracking and analysis), clearly distinguishing it from sibling tools focused on issues, pages, and search.

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?

The description implies the tool is for uploading chat sessions but provides no explicit guidance on when to use it versus alternatives or when not to use it. Siblings are different enough to avoid confusion, but lacks exclusions.

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/toolkit-ai/magnet-mcp-server'

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