Skip to main content
Glama

Build the map

build_map

Build your human's map from exports. op submit: upload files, each path under its system folder (shopify/orders.csv), up to 100 files and 5 MB per call. op start (default): scan the upload; a retry returns the same run; an owner or admin first accepts the Terms and DPA at human_action_url. op status: the run's state. Then call get_task_context. Details: maplith://docs/mcp. Needs: a key with upload consent.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNosubmit: files (upload_id adds more). start (default), status: upload_id.
filesNoFiles: a path under a system folder, content as text or base64.
upload_idNoThe upload_id op submit returned; submit adds to it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / files / description
      Previous value: -"Files to add: relative path with a system folder, content as text or base64."New value: +"Files: a path under a system folder, content as text or base64."
    • changedInput schema / properties / files / items / properties / content / description
      Previous value: -"The file as text, or as base64 with encoding \"base64\" (Excel workbooks and PDFs)."New value: +"The file as text, or base64 for Excel and PDF."
    • changedInput schema / properties / files / items / properties / encoding / description
      Previous value: -"\"utf8\" (default) for text files; \"base64\" for an Excel workbook or a PDF."New value: +"utf8 (default) or base64 (Excel, PDF)."
    • changedInput schema / properties / files / items / properties / path / description
      Previous value: -"Relative path starting with the system folder, e.g. \"dinero/postings.csv\"; the folder becomes the system in the map."New value: +"System folder first, e.g. \"dinero/postings.csv\"."
    • changedInput schema / properties / op / description
      Previous value: -"submit: upload files (files, upload_id to add more). start (default): scan the upload (upload_id). status: read its run (upload_id)."New value: +"submit: files (upload_id adds more). start (default), status: upload_id."
    • changedInput schema / properties / upload_id / description
      Previous value: -"submit: continue an upload. start and status: the upload. Use the upload_id op submit returned."New value: +"The upload_id op submit returned; submit adds to it."
  2. Changed4 schema fields changed
    • addedInput schema / properties / files
      Added value: +{
      +  "description": "Files to add: relative path with a system folder, content as text or base64.",
      +  "items": {
      +    "properties": {
      +      "content": {
      +        "description": "The file as text, or as base64 with encoding \"base64\" (Excel workbooks and PDFs).",
      +        "type": "string"
      +      },
      +      "encoding": {
      +        "description": "\"utf8\" (default) for text files; \"base64\" for an Excel workbook or a PDF.",
      +        "enum": [
      +          "utf8",
      +          "base64"
      +        ],
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Relative path starting with the system folder, e.g. \"dinero/postings.csv\"; the folder becomes the system in the map.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "path",
      +      "content"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 100,
      +  "type": "array"
      +}
    • addedInput schema / properties / op
      Added value: +{
      +  "description": "submit: upload files (files, upload_id to add more). start (default): scan the upload (upload_id). status: read its run (upload_id).",
      +  "enum": [
      +    "submit",
      +    "start",
      +    "status"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / upload_id / description
      Previous value: -"The id submit_sources returned."New value: +"submit: continue an upload. start and status: the upload. Use the upload_id op submit returned."
    • changedInput schema / required
      Previous value: -[
      -  "upload_id"
      -]New value: +[]
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations it discloses concrete limits (100 files, 5 MB per call), retry semantics ('a retry returns the same run'), and a real prerequisite the annotations omit: an owner or admin must accept the Terms and DPA at human_action_url, and the key needs upload consent. That is exactly the operational context an agent needs before calling a mutation tool.

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?

Tight, front-loaded, and organized by op label so each clause is scannable. It is dense with jargon and URLs ('maplith://docs/mcp', 'human_action_url'), which slightly taxes readability without wasting words.

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 3-parameter mutation tool with no output schema, it covers the flow, size limits, authorization gate, and the follow-up tool. It leaves the possible values of a run's 'state' and error behavior unspecified, so not quite complete.

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 100%, so the baseline is 3; the description still adds value with the 5 MB per-call ceiling (not in the schema) and the folder-path convention ('shopify/orders.csv'). The op semantics are largely restated from the schema, keeping it below 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Build your human's map from exports') and enumerates the three operations, so the agent knows this is the ingestion tool. The product-specific phrasing ('your human's map') is a little opaque, but the file-upload nature is unambiguous.

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?

It spells out the op sequence (submit files, then start, then status) and names the default op, plus a next-step handoff to get_task_context. It stops short of stating when NOT to use this tool or which sibling handles adjacent needs, so a 4 rather than a 5.

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