Skip to main content
Glama

get_wrangle_code

Read the VEX code stored in an Attribute Wrangle node by passing its node path. Use it to inspect the wrangle's script before editing or debugging.

Instructions

Read the VEX code from an Attribute Wrangle node.

Args: node_path: Path to the wrangle node.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.24.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden but only states it reads VEX code. It does not disclose failure behavior (e.g., if the node is not a wrangle), the return format, or whether the node must exist, leaving behavioral gaps.

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 one-line purpose followed by a compact Args block; nothing is redundant. The Args formatting for a single param is slightly ceremonial but harmless.

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 simple read tool with no output schema and no annotations, the description is minimally adequate. It omits the return format and error conditions, which would help an agent know what to expect from the read.

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?

The description adds a brief gloss ('Path to the wrangle node') over the schema's bare 'Node Path' title, marginally compensating for 0% schema coverage. With only one param, the meaning is inferable, but no path syntax or example is given.

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?

States a specific verb (Read) and resource (VEX code from an Attribute Wrangle node), which clearly distinguishes it from the sibling set_wrangle_code. The purpose is unambiguous, though it does not name siblings explicitly.

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?

Provides no when-to-use guidance, no prerequisites, and no reference to alternatives like set_wrangle_code or validate_vex. Usage is only implied by the verb 'Read'.

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

Deploy Server

Other Tools