High Risk →

transform_component

Transform a component's position, rotation, or scale

How to control transform_component ↓

What transform_component does on SketchupMCP

AI agents invoke transform_component to trigger actions in SketchupMCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

High Risk

Why transform_component needs a policy

This tool triggers external operations (geometric transformations) whose effects are determined by the arguments provided (position, rotation, scale values). While not destructive (transformations are reversible), it executes computed changes to a 3D scene state outside the AI's direct domain.

From the tool's definition Tool description states it 'Transform a component's position, rotation, or scale' — this directly manipulates 3D model state through external operations on Sketchup components.

Documented attack patterns abuse exactly the kind of access transform_component gives an agent:

How to control transform_component

PolicyLayer is an MCP gateway — it sits between your AI agents and SketchupMCP, and nothing reaches the server without passing your rules. This is the rule we recommend for transform_component:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "transform_component": {
      "limits": [
        {
          "counter": "transform_component_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}

transform_component stays usable, but rate-capped — a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.

  1. Create a free account and register SketchupMCP — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
RATE-LIMIT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about transform_component

What does the transform_component tool do? +

Transform a component's position, rotation, or scale. It is categorised as a Execute tool in the SketchupMCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on transform_component? +

Register the Sketchup MCP server in PolicyLayer and add a rule for transform_component: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches SketchupMCP. Nothing to install.

What risk level is transform_component? +

transform_component is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit transform_component? +

Yes. Add a rate_limit block to the transform_component rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block transform_component completely? +

Set action: deny in the PolicyLayer policy for transform_component. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides transform_component? +

transform_component is provided by the Sketchup MCP server (mhyrr/sketchup-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every SketchupMCP tool call.

Start from SketchupMCP, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

10 SketchupMCP tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.