Skip to main content
Glama

Xenition

Import a file into your workspace

import_file

Use this when the user wants to bring a file's content into their Xenition workspace — e.g. they attached or pasted a document and want it saved. Pass UTF-8 text in textContent, or other content base64-encoded in base64Content, with contentMimeType. Saves it as an editable document that summarize_artifact, query_document, ask_workspace and edit_artifact can work on. Supports text, Markdown, CSV, JSON, HTML and PDF. To bring in a page from the web instead, use add_to_knowledge with its URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesa title for the saved file, e.g. 'Q3 Board Notes'
textContentNothe file's UTF-8 text content. Use this for text, Markdown, CSV, JSON or HTML. Set either this or base64Content, not both.
base64ContentNothe file's content, base64-encoded. Use this for non-UTF-8 files such as a PDF. Set either this or textContent, not both.
contentMimeTypeNothe MIME type of the content, e.g. 'text/markdown', 'text/csv', 'text/html', 'application/pdf'. Recommended so the content is handled correctly.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes
charsYes
titleYes
openUrlNo
artifactIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare non-readOnly, non-destructive, non-idempotent, so the safety profile is partly covered. The description adds real context beyond them: the result is an editable document, which downstream tools (summarize_artifact, query_document, ask_workspace, edit_artifact) can operate on, and which formats are accepted. It stops short of noting that repeated calls create duplicate documents (non-idempotent) or what permissions are needed.

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?

Three front-loaded sentences: trigger first, encoding instructions second, downstream capabilities and the alternative last. Every sentence carries decision-relevant information and none repeats the tool name or title.

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?

An output schema exists, so return values need not be explained, and the annotations cover the mutation/safety profile. The description supplies formats, downstream consumers, and the sibling alternative, which is enough for correct invocation; only the non-idempotent duplicate-creating behavior is left undisclosed.

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 coverage is 100%, so all four parameters and the either/or constraint are already documented in the schema. The description restates the textContent/base64Content choice and contentMimeType without adding syntax or format detail the schema lacks; the format list (text, Markdown, CSV, JSON, HTML, PDF) is only marginally beyond the schema's MIME examples. Baseline 3 applies.

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 verb and resource ('bring a file's content into their Xenition workspace') and immediately disambiguates from the closest sibling by naming add_to_knowledge for web pages. An agent can distinguish this from add_note, create_document and add_to_knowledge without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('when the user wants to bring a file's content into their workspace — e.g. they attached or pasted a document'), the encoding path to choose (UTF-8 vs base64), and a named alternative with its condition (add_to_knowledge with a URL for web pages). Nothing is left to inference.

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