Skip to main content
Glama

Import from Text

import_from_text

Create a new Import from agent-supplied text (raw string) or pre-parsed structured content. Returns importId + preview rows. Use commit_import to persist. Optionally accepts hint.accountId or hint.suggestedAccount (auto-created on commit). Requires confirmation: true.

Input Schema

NameRequiredDescriptionDefault
hintNoOptional helper context the agent can pass to bias parsing or account selection.
contentYes
confirmationYesMust be true to execute the mutation
idempotencyKeyNoOptional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing.

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 already cover safety (readOnly=false, destructive=false, openWorld=true), so the description's value-added context is the two-phase behavior (preview now, commit later), the returned importId + preview rows, and the side effect that a suggestedAccount gets auto-created on commit. That is meaningful disclosure beyond structured fields; only error/failure behavior is left unstated.

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?

Four short telegraphic sentences, front-loaded with what it creates, followed by the return shape, the follow-up tool, and the mutation precondition. Nothing is redundant enough to cut.

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 nested 4-parameter mutation with no output schema, the description covers return values, workflow position, and the confirmation gate. It stops short of describing what the preview rows contain or how parse failures surface, which would matter for an agent building on the preview.

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 75%, and the description adds meaning the schema does not: it clarifies hint.accountId vs hint.suggestedAccount and, crucially, that the suggested account is created only at commit time. The content parameter's dual string/object form is restated rather than enriched, which keeps it below a 5.

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 ("Create a new Import") and immediately enumerates the two accepted input modes (raw string vs pre-parsed structured content). It also names the follow-up sibling commit_import, so the agent can place this tool in the workflow without guessing.

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?

"Use commit_import to persist" gives an explicit handoff to the correct next tool, and the returns-a-preview note clarifies this is a non-persisting staging step. It does not, however, say when to choose this over the other ingestion siblings like bulk_add_transactions or add_transaction_from_photo.

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