# add_execution_labels

A write tool on the Kestra Python MCP Server MCP server.

Agent View of the PolicyLayer registry record for `add_execution_labels`. HTML page: https://policylayer.com/tools/kestra-io-mcp-server-python/add-execution-labels

## Facts

- Tool: `add_execution_labels`
- Server: Kestra Python MCP Server (`kestra-io/mcp-server-python`) — https://policylayer.com/tools/kestra-io-mcp-server-python.md
- Homepage: https://github.com/kestra-io/mcp-server-python
- Risk category: Write (Medium 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": "add_execution_labels",
    "arguments": {}
  }
}
```

## Why add_execution_labels is rated Medium

Adding labels is a write operation—it creates or modifies metadata on existing executions. It is reversible (labels can be removed or changed), so it is not Destructive. It does not execute arbitrary code (Execute), move money (Financial), or trigger external operations with open-ended side effects.

From the tool's own definition: "Tool name 'add_execution_labels' indicates adding/attaching labels to executions. Labels are metadata that can be modified reversibly."

## Use case

AI agents use add_execution_labels to create or update resources in Kestra Python MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Kestra Python MCP Server environment.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "add_execution_labels": {
      "limits": [
        {
          "counter": "add_execution_labels_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Kestra Python MCP Server (38)

- `delete_execution_logs` — Destructive — https://policylayer.com/tools/kestra-io-mcp-server-python/delete-execution-logs.md
- `delete_flow_logs` — Destructive — https://policylayer.com/tools/kestra-io-mcp-server-python/delete-flow-logs.md
- `backfill_executions` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/backfill-executions.md
- `change_taskrun_state` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/change-taskrun-state.md
- `execute_flow` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/execute-flow.md
- `force_run_execution` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/force-run-execution.md
- `manage_executions` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/manage-executions.md
- `replay_execution` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/replay-execution.md
- `restart_execution` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/restart-execution.md
- `resume_execution` — Execute — https://policylayer.com/tools/kestra-io-mcp-server-python/resume-execution.md
- `generate_app` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/generate-app.md
- `generate_dashboard` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/generate-dashboard.md
- `generate_test` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/generate-test.md
- `manage_apps` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/manage-apps.md
- `manage_group` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/manage-group.md
- `manage_tests` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/manage-tests.md
- `namespace_directory_action` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/namespace-directory-action.md
- `namespace_file_action` — Other — https://policylayer.com/tools/kestra-io-mcp-server-python/namespace-file-action.md
- `download_execution_logs` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/download-execution-logs.md
- `find_flow` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/find-flow.md
- `follow_execution_logs` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/follow-execution-logs.md
- `get_execution_logs` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/get-execution-logs.md
- `get_instance_info` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/get-instance-info.md
- `list_executions` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/list-executions.md
- `list_flows_in_namespace` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/list-flows-in-namespace.md
- `list_flows_with_triggers` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/list-flows-with-triggers.md
- `list_namespace_dependencies` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/list-namespace-dependencies.md
- `list_namespaces` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/list-namespaces.md
- `search_apps` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/search-apps.md
- `search_flows` — Read — https://policylayer.com/tools/kestra-io-mcp-server-python/search-flows.md
- …and 8 more: https://policylayer.com/tools/kestra-io-mcp-server-python.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=kestra-io-mcp-server-python · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/kestra-io-mcp-server-python
