Skip to main content
Glama

Load transform rules from a JSON file

proxy_load_transforms

Load previously saved transform rules into the running proxy to mock Android network traffic. Uses idempotent upsert to apply rules from a JSON file without duplicates.

Instructions

Load transform rules previously saved with proxy_save_transforms. Uses idempotent upsert (requires proxy to be running).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFile path to load from (default: transforms.json in project root). Must be inside the proxy's allowed directories (default: the folder the proxy was launched from); extend with --allowed-dir <path>.
Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses the 'requires proxy to be running' prerequisite and mentions 'idempotent upsert' semantics, which is useful. However, it doesn't disclose failure behavior (e.g., what happens with invalid JSON), whether existing rules are replaced or merged, or any error conditions beyond proxy not running.

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?

Two compact sentences that convey the purpose, the pairing with the save counterpart, and the key behavioral note (idempotent upsert, requires running proxy). The parameter-relevant detail is appropriately pushed into the schema. No wasted words.

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 single-parameter tool with full schema coverage and no output schema, the description covers the essentials: what it does, what it needs, and the operational prerequisite. The 'idempotent upsert' phrasing is a bit terse and could benefit from explaining what upsert means in this context (merge vs replace semantics). But given the simplicity of the tool, this is reasonably 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 description coverage is 100%, so the schema documents the 'path' parameter well. The description adds valuable context beyond the schema: it explains the default value behavior ('transforms.json in project root'), the allowed-directories constraint, and how to extend the allowed paths with --allowed-dir. This compensates beyond what the schema alone provides.

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 clearly states the action ('Load transform rules') with a specific resource ('from a JSON file') and references the sibling tool proxy_save_transforms as the counterpart. However, it doesn't strongly differentiate itself from proxy_update_transform or other transform-related siblings in terms of what makes this distinct.

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?

It mentions 'previously saved with proxy_save_transforms' implying the pairing relationship, and notes 'requires proxy to be running' as a prerequisite. However, it doesn't explicitly state when NOT to use this versus alternatives like proxy_update_transform, leaving the agent to infer when bulk-loading is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shahfazliz/proxy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server