# aplicar_scaling

Publica um comando de scaling (scale up/down/restart) de workers.

Agent View of the PolicyLayer registry record for `aplicar_scaling`. HTML page: https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/aplicar-scaling

## Facts

- Tool: `aplicar_scaling`
- Server: MCP Officegest (`rubencodex86/officegest-api-v2-mcp`) — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp.md
- Homepage: https://github.com/rubencodex86/officegest-api-v2-mcp
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "aplicar_scaling",
    "arguments": {}
  }
}
```

## Why aplicar_scaling is rated High

This tool executes external operations that control worker infrastructure. Scaling operations can disrupt service availability, cause downtime, or trigger resource reallocation with immediate effects. While not financial or destructive of data, the blast radius is significant: an AI agent invoking this carelessly could scale down production workers, causing outages.

From the tool's own definition: "'Publica um comando de scaling (scale up/down/restart) de workers' – directly triggers infrastructure operations (scale up, scale down, restart) on worker processes."

## Use case

AI agents invoke aplicar_scaling to trigger actions in MCP Officegest. 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.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches MCP Officegest:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "aplicar_scaling": {
      "limits": [
        {
          "counter": "aplicar_scaling_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on MCP Officegest (305)

- `anular_recibo` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/anular-recibo.md
- `eliminar_documento_venda` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-documento-venda.md
- `eliminar_draft` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-draft.md
- `eliminar_fornecedor` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-fornecedor.md
- `eliminar_job_falhado` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-job-falhado.md
- `eliminar_marca` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-marca.md
- `eliminar_modelo_etiqueta` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-modelo-etiqueta.md
- `eliminar_proxy` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-proxy.md
- `eliminar_sessao_profiler` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-sessao-profiler.md
- `eliminar_sessoes_profiler` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-sessoes-profiler.md
- `eliminar_unidade_medida` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-unidade-medida.md
- `eliminar_vendedor` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/eliminar-vendedor.md
- `matar_job_queue` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/matar-job-queue.md
- `remover_linha_validacao` — Destructive — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/remover-linha-validacao.md
- `aceder_proxy` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/aceder-proxy.md
- `calcular_decisao_scaling` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/calcular-decisao-scaling.md
- `comunicar_documento_at` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/comunicar-documento-at.md
- `comunicar_documento_saft_ao` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/comunicar-documento-saft-ao.md
- `comunicar_documentos_saft_ao` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/comunicar-documentos-saft-ao.md
- `iniciar_sessao_profiler` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/iniciar-sessao-profiler.md
- `parar_sessao_profiler` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/parar-sessao-profiler.md
- `pausar_supervisor` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/pausar-supervisor.md
- `reiniciar_supervisor` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/reiniciar-supervisor.md
- `repetir_job_queue` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/repetir-job-queue.md
- `repetir_submissao_saft_ao` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/repetir-submissao-saft-ao.md
- `retomar_supervisor` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/retomar-supervisor.md
- `sincronizar_tickets` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/sincronizar-tickets.md
- `sincronizar_tickets_conta` — Execute — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/sincronizar-tickets-conta.md
- `comparar_sessoes_profiler` — Read — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/comparar-sessoes-profiler.md
- `consultar_stock` — Read — https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp/consultar-stock.md
- …and 275 more: https://policylayer.com/tools/rubencodex86-officegest-api-v2-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=rubencodex86-officegest-api-v2-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/rubencodex86-officegest-api-v2-mcp
