Skip to main content
Glama

Read a whole brand folder

import_folder

Sort a brand folder or zip you already uploaded (up to 200 files): logos in every version, fonts, a guide PDF, posts and photos. Code reads each file first, then AI looks at the pictures and reads the guide. Each file comes back with the slot it fits and how sure we are, and nothing changes in a brand until you call apply_import. Free, within the daily import allowance. Answers with the run; read it with get_folder_import.

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": {
      "files": "<files>"
    },
    "name": "import_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNo
filesYes
sourceNo
idempotencyKeyNoA key you make up for this call. Send the SAME one again after a lost answer to get the first answer back, with nothing spent twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses the internal two-stage pipeline (deterministic code pass, then AI vision/PDF reading), the per-file output shape (slot + confidence), and the crucial safety guarantee that nothing changes until apply_import. It also discloses cost behavior (free, daily import allowance), which no annotation conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action and scope, then the mechanics, then the safety/cost notes and the read-back tool — a sensible ordering with little filler. The terse register ("Free, within the daily import allowance.") is dense but readable, though a couple of clauses could be merged.

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?

With no output schema, the description usefully explains that the call returns a run object readable via get_folder_import and that results are per-file with slot assignments and confidence. Gaps remain around optional parameters (brand, source), failure/limit behavior above 200 files, and auth requirements, but the core call path is complete.

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 only 25% (only idempotencyKey is documented), so the description should carry more weight; it partially compensates by restating the 200-file ceiling and by hinting that imported content is scoped to a brand. It adds no meaning for the `brand` or `source` parameters, leaving two of four ambiguous.

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 — sorting an already-uploaded brand folder or zip — and scopes it concretely (up to 200 files, logos/fonts/guide PDF/posts/photos). It also names the two related tools (apply_import, get_folder_import) so an agent can place this step in the broader import flow rather than confusing it with import_files or import_brand.

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?

"A brand folder or zip you already uploaded" establishes the precondition that content must already exist, and the definition names apply_import as the step that actually mutates the brand, which effectively tells the agent when to stop. It does not explicitly contrast with sibling tools like import_files or import_link, so the agent must infer the alternative for non-folder uploads.

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