data_converter
Convert a value between data units. Units: bit (Bit), B (Byte), kB (Kilobyte), MB (Megabyte), GB (Gigabyte), TB (Terabyte), KiB (Kibibyte), MiB (Mebibyte), GiB (Gibibyte), TiB (Tebibyte). Calculation runs on smart-tools.xyz.
This record as markdown: /tools/io-github-9thshini-smart-tools/data-converter.md
What data_converter does on SmartTools
AI agents call data_converter to retrieve information from SmartTools without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Target unit id |
from | string | Yes | Source unit id |
value | number | string | Yes | Amount to convert |
locale | string | — | Language for source_url (en, de, es, fr, it, nl, uk) |
Parameters from the server's own tool schema.
Why data_converter is rated Low
Even though data_converter only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
The rule that runs data_converter safely
PolicyLayer is an MCP gateway: it sits between your AI agents and SmartTools, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For data_converter, this is the rule to start with:
data_converter 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 SmartTools, apply this rule, and every data_converter call is checked against it from then on.
Questions about data_converter
Convert a value between data units. Units: bit (Bit), B (Byte), kB (Kilobyte), MB (Megabyte), GB (Gigabyte), TB (Terabyte), KiB (Kibibyte), MiB (Mebibyte), GiB (Gibibyte), TiB (Tebibyte). Calculation runs on smart-tools.xyz. It is categorised as a Read tool in the SmartTools MCP Server, which means it retrieves data without modifying state.
data_converter accepts 4 parameters: to, from, value, locale. Required: to, from, value. The full parameter table on this page comes from the server's own tool schema.
Register the SmartTools MCP server in PolicyLayer and add a rule for data_converter: 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 SmartTools. Nothing to install.
data_converter 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 data_converter 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 data_converter. 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.
data_converter is provided by the SmartTools MCP server (https://smart-tools.xyz/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on SmartTools, and thousands of servers like it.
This server
Across the catalogue