Skip to main content
Glama
RawTree MCP Server

RawTree MCP Server

Official
by rawtreedb

Insert From URL

insert-from-url

Ingest JSON or JSONL data from a public URL directly into a table and wait for the import to complete.

Instructions

Purpose: Ask RawTree to ingest JSON/JSONL data from a public URL into a table. Waits for the import to complete.

NOT for: Private files on your machine or authenticated URLs. Normalize or transform data before making it available at the public URL.

Returns: The completed import result as JSON: inserted is the row count, or null when unavailable.

When to use:

  • User has a public JSON or JSONL file URL

  • You need RawTree to fetch and ingest the file directly

  • The data is too large or inconvenient to paste into the MCP call

Workflow: Confirm the URL is public → call insert-from-url → use list-logs and run-query to verify.

Key trigger phrases: "ingest this URL", "load JSONL from", "import from public file"

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table": "<table>",
      "url": "<url>"
    },
    "name": "insert-from-url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic URL containing data RawTree can fetch.
tableYesTarget table name.
clusterNoName or ID of the cluster to use for this operation.
databaseNoOptional RawTree database override. RawTree uses the default database when omitted.
organizationNoName or ID of the organization containing the target cluster.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.10
    • changedInput schema / properties / cluster / description
      Previous value: -"RawTree cluster to use for this operation."New value: +"Name or ID of the cluster to use for this operation."
    • changedInput schema / properties / organization / description
      Previous value: -"RawTree organization containing the target cluster."New value: +"Name or ID of the organization containing the target cluster."
  2. Changed4 schema fields changedv0.3.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / cluster
      Added value: +{
      +  "description": "RawTree cluster to use for this operation.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / database
      Added value: +{
      +  "description": "Optional RawTree database override. RawTree uses the default database when omitted.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / organization
      Added value: +{
      +  "description": "RawTree organization containing the target cluster.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two valuable traits beyond the schema: the call blocks until import completes, and the result's 'inserted' count may be null. It omits side-effect details an agent would want for a write tool with no annotation coverage: permission requirements, size/timeout limits, duplicate or append-vs-overwrite behavior, and what happens on partial failure.

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?

Purpose and exclusions are front-loaded before the when-to-use list and workflow, and each block is scannable. The 'Key trigger phrases' block is slightly redundant with the when-to-use bullets, but it is short and the whole description stays tight for a tool with this much to communicate.

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 synchronous ingestion mutation with no annotations and no output schema, the description covers intent, exclusions, return shape, and verification workflow, which is most of what an agent needs. It falls short only on failure/partial-import semantics and permission prerequisites that the absent annotations would otherwise have carried.

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 five parameters are already documented, and the description adds nothing beyond the schema's own 'public URL' framing for url. cluster, database, and organization are not discussed at all in the description, so it neither compensates for nor extends the structured data.

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 (ingest JSON/JSONL from a public URL into a table) plus the key behavioral trait that it waits for completion. The 'NOT for private files or authenticated URLs' clause and the 'too large or inconvenient to paste' note implicitly separate it from the paste-style insert-json sibling without opening either 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 explicit when-to-use bullets (public JSON/JSONL URL, need server-side fetch, data too large to paste), explicit exclusions (private files, authenticated URLs), a prep condition (normalize before exposing), and a follow-up workflow (list-logs, run-query to verify). Trigger phrases further reduce selection ambiguity.

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