get_inventory_variant
Get one inventory variant by ID, exact variant name, or exact SKU. If the name/SKU is duplicated, pass product or use the variant ID.
This record as markdown: /tools/io-github-dearlordylord-huly-mcp/get-inventory-variant.md
What get_inventory_variant does on Huly
AI agents call get_inventory_variant to retrieve information from Huly without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why get_inventory_variant is rated Low
This tool retrieves or queries inventory variant data based on lookup criteria (ID, name, or SKU). It has no side effects, does not create, modify, delete, or execute any operations. It is a straightforward read operation retrieving existing product inventory information.
From the tool's definition Tool description states 'Get one inventory variant by ID, exact variant name, or exact SKU' — uses retrieval verbs (get) to query data without modifying it.
Attacks that exploit this kind of access
The rule that runs get_inventory_variant safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Huly, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_inventory_variant, this is the rule to start with:
get_inventory_variant is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Huly, apply this rule, and every get_inventory_variant call is checked against it from then on.
Questions about get_inventory_variant
Get one inventory variant by ID, exact variant name, or exact SKU. If the name/SKU is duplicated, pass product or use the variant ID. It is categorised as a Read tool in the Huly MCP Server, which means it retrieves data without modifying state.
Register the Huly MCP server in PolicyLayer and add a rule for get_inventory_variant: 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 Huly. Nothing to install.
get_inventory_variant is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_inventory_variant 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.
Set action: deny in the PolicyLayer policy for get_inventory_variant. 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.
get_inventory_variant is provided by the Huly MCP server (@firfi/huly-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Huly, and thousands of servers like it.
This server
Across the catalogue