Skip to main content
Glama

transform_create_local_template

Generate a ready-to-run Python 3 or Node.js local Maltego transform script with executable permissions and a matching .transform XML descriptor file.

Instructions

Generate a ready-to-run local Maltego transform script (Python 3 or Node.js) with executable permissions plus a matching .transform XML descriptor 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": {
      "name": "<name>",
      "language": "<language>"
    },
    "name": "transform_create_local_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesTransform identifier (e.g., my.local.DomainWhois).
authorNoAuthor metadata for `.transform` XML.
languageYesTarget runtime for the local transform script.
overwriteNoOverwrite existing files if present (default: false).
output_dirNoDestination directory (defaults to server config workspaceDir).
descriptionNoTransform description.
display_nameNoHuman-readable transform display name.
input_entity_typeNoInput Maltego entity type (default: maltego.Domain).
output_entity_typeNoOutput Maltego entity type (default: maltego.IPv4Address).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the tool writes a runnable script with executable permissions and creates a matching XML descriptor, but it does not explain overwrite behavior, error conditions, or what is returned.

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?

The definition is a single front-loaded sentence with no wasted wording. It communicates the core action, output artifacts, language scope, and permission behavior efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The purpose and parameter schema are clear enough to invoke the tool, but for a nine-parameter file-creating tool with no annotations and no output schema, the description omits return values, overwrite semantics, and usage guidance. It is adequate but not fully 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 100%, so the schema already documents all nine parameters. The description adds only a little meaning by confirming Python 3 or Node.js as runtimes and mentioning executable permissions; baseline 3 is appropriate.

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?

The description uses a specific verb, 'Generate', and names concrete artifacts: a ready-to-run local Maltego transform script in Python 3 or Node.js, plus a matching .transform XML descriptor. This clearly separates it from run/list operations, though it does not explicitly call out sibling alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It does not state when to use this tool versus transform_run_local, transform_build_request, entity_create_definition, or other creation siblings. There are no prerequisites, exclusions, or workflow guidance, leaving the agent to infer usage from the name and description alone.

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