Skip to main content
Glama

transform_run_tds

Run remote Maltego transforms over TDS v2 XML or TRX v3 JSON endpoints, passing entities, parameters, limits, and optional API keys; localhost is allowed, external hosts need explicit enablement.

Instructions

Execute a remote transform via TDS v2 XML (POST ?Command=_RUN&TransformToRun=...) or TRX v3 JSON (POST <base>/transforms/<id>/run). Always permits localhost/127.0.0.1/::1; external hosts require MALTEGO_ALLOW_EXTERNAL_TRANSFORMS=true.

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": {
      "url": "<url>",
      "transform_name": "<transform_name>"
    },
    "name": "transform_run_tds"
  }
}

Input Schema

NameRequiredDescriptionDefault
oemNoOptional OEM identifier for TDS v2 query string.
urlYesTDS v2 endpoint URL or TRX v3 base URL.
entityNoInput Maltego entity ({ type, value, weight?, iconUrl?, properties? }).
limitsNo
api_keyNoOptional API key (sent via Maltego-API-Key header and v2 Key query param if set).
protocolNoTransform protocol version (default: v2).
parametersNoTransform settings / fields map.
timeout_msNoHTTP request timeout in milliseconds.
entity_typeNoShorthand input entity type if `entity` object is omitted.
output_mtgxNoOptional workspace-relative or confined .mtgx archive path to merge input/output entities and directed links into.
entity_valueNoShorthand input entity value if `entity` object is omitted.
transform_nameYesTDS v2 TransformToRun name or TRX v3 transform ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the exact HTTP routes used for each protocol and the security gate (localhost/127.0.0.1/::1 always allowed; external hosts require MALTEGO_ALLOW_EXTERNAL_TRANSFORMS=true), which pre-empts a class of failures. It stops short of saying whether execution is side-effecting on the remote server, what the response contains, or how output_mtgx interacts with the call.

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?

Two sentences, no filler. The action and both protocol variants come first, and the access restriction follows as a hard constraint the agent needs before calling.

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?

For a 12-parameter tool with a nested entity object and no output schema, the definition covers invocation and access control but leaves return behavior and the output_mtgx merge side effect unexplained. An agent knows how to call it and whether it is permitted, but not what it gets back.

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 92%, so the schema already documents nearly every parameter, including the dual meaning of url and transform_name. The description's endpoint templates add modest clarity about how url and protocol combine, but it says nothing about the twelve parameters it does not mention, so the 3 baseline holds.

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 states a specific verb and resource ('Execute a remote transform') and defines the two supported wire formats (TDS v2 XML vs TRX v3 JSON) with concrete endpoint shapes. The word 'remote' implicitly separates it from transform_run_local, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage context is implied: this is the tool for executing transforms against a remote TDS/TRX server, and the localhost-vs-external rule tells the agent under which conditions a call will succeed. However, there is no explicit guidance on when to choose v2 over v3, nor any pointer to transform_discover_tds for finding a transform_name before running it.

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