Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

import_dictionary

Imports an existing data dictionary from CSV, Excel, Word, Markdown, or text into a Portward profile, maps each entry to granted tables or columns, and saves only user-confirmed mappings.

Instructions

Import a data dictionary the user already has (a spreadsheet, Word document, README or text file on this computer: .csv, .tsv, .xlsx, .docx, .md, .markdown, .txt) into a profile, as what its tables and columns mean. Portward reads the file, matches each entry onto a table or column the profile grants and shows the user the mapping; only what they confirm is saved. For entries named differently from the columns, pass mapping ({entry name: table.column, or table}).

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": {
      "profile": "<profile>",
      "path": "<path>"
    },
    "name": "import_dictionary"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
mappingNo
profileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does well: it discloses that Portward reads the file, matches entries against tables/columns the profile grants, shows the mapping, and saves only what the user confirms. That preview-and-confirm behavior is the key non-obvious trait for an agent. It stops short of describing permission requirements or failure handling for unmatchable entries.

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?

Purpose is front-loaded in the first sentence, followed by behavioral flow and then the parameter hint, which is a sensible order. The long parenthetical format list and 'spreadsheet, Word document, README or text file' duplicate the same information twice, a minor waste.

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 three-parameter, annotation-free tool with no output schema, the description covers what the tool does, what it reads, what it writes, and the confirmation gate, which is nearly everything an agent needs. Return-value shape is the only meaningful gap, and the description does convey the resulting effect (confirmed meanings saved to the profile).

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 description coverage is 0%, so the description must compensate, and it does: `path` is grounded as 'a file on this computer' with an explicit extension list, `profile` is framed as the granted scope, and `mapping` is given both shape and purpose ({entry name: table.column, or table}) for entries not named identically to columns. It leaves the profile identifier format (name vs. id) and path conventions unspecified.

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 ('Import a data dictionary') plus the target ('into a profile') and the semantic intent ('as what its tables and columns mean'). It enumerates the accepted file types, so an agent knows exactly which artifacts this tool consumes, distinguishing it from the draft_definition/draft_meanings family.

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?

The phrase 'a data dictionary the user already has' establishes the trigger condition clearly, and the confirmation flow signals the interactive context in which it is used. It does not name an alternative sibling (e.g. draft_meanings) or state when not to use it, so routing for non-import cases is left implicit.

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