Skip to main content
Glama

Persist all transform rules to a JSON file

proxy_save_transforms

Save request and response transform rules to a JSON file for reuse after a proxy restart, supporting reload via proxy_load_transforms.

Instructions

Save both response and request transform rules to a JSON file for reuse after a proxy restart. Reload with proxy_load_transforms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFile path to save to (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>.
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. The description does disclose that the tool persists to a file and overwrites/reuses after restart, which is useful. However, it does not mention potential side effects (e.g., whether it overwrites an existing file, whether file I/O failures are handled, or what happens if transforms are empty). With zero annotations, more detail would be warranted.

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?

The description is two sentences with zero wasted words. It front-loads the core action and purpose, then adds the complementary reload reference. It's appropriately concise; the only minor gap is the absence of side-effect disclosure, but structurally it's efficient.

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 single-parameter persistence tool with no output schema and no nested objects, the description covers the essential aspects well: what is saved, where, to what format, and how to retrieve it. The file-path restrictions are handled in the schema. This is reasonably complete for a tool of this simplicity.

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 fully documents the path parameter including default location and the --allowed-dir constraint. The description does not add parameter semantics beyond the schema. Per the rubric, a baseline of 3 applies since the schema does the heavy lifting.

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?

The description clearly states the verb ('Save'), the resource ('both response and request transform rules'), and the output format ('to a JSON file'). It also specifies the persistence/reuse intent ('for reuse after a proxy restart'), and explicitly names the complementary sibling tool (proxy_load_transforms) to disambiguate from other proxy tools.

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?

The description mentions the reload counterpart (proxy_load_transforms), giving context on the save/load workflow. However, it does not explicitly state when to use this tool vs. alternatives, nor does it mention any prerequisites like whether both request and response transforms must exist before saving. Usage context is implied but not fully specified.

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