create_attention_directive
Queue a short instruction for an external coding/builder session (Grok terminal, Claude Code, or future FreedomOS runtime). Does NOT type into their UI — the session must poll FreedomOS (poll-fo-directives.sh or list_attention_directives) and act. Use when the operator says "tell Grok…", "have Cl...
This record as markdown: /tools/com-getfreedomos-freedom-mcp/create-attention-directive.md
What create_attention_directive does on Freedom Mcp
AI agents use create_attention_directive to create or update resources in Freedom Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Freedom Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
source | string | — | Optional provenance: voice_cos | chat | api | system. Default derived from door. |
companyId | string | — | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
company_id | string | — | Optional company context (portfolio id). Does not change auth — row stays operator-scoped. |
instruction | string | Yes | One clear instruction for that session (1–4000 chars). Imperative, not a transcript dump. |
target_host | string | — | Host adapter: claude-code | claude-desktop | grok | manual | slack | github | freedomos | other |
target_session_id | string | Yes | Stable id the host polls (1–200 chars). Examples: grok-$SESSION, claude-code-$SESSION. Must match the poller. |
Parameters from the server's own tool schema.
Why create_attention_directive is rated Medium
This is classified as Write because the tool creates a new directive record in FreedomOS that external sessions will later retrieve and act upon. It does not directly execute code or commands—it merely queues instructions for another party to poll and decide whether to execute. The mention of approval gates and reversibility further supports Write over Execute.
From the tool's definition The tool creates and queues an instruction directive ("Queue a short instruction") that is stored for later retrieval by external sessions.
Attacks that exploit this kind of access
The rule that runs create_attention_directive safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Freedom Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_attention_directive, this is the rule to start with:
create_attention_directive stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Freedom Mcp, apply this rule, and every create_attention_directive call is checked against it from then on.
Questions about create_attention_directive
Queue a short instruction for an external coding/builder session (Grok terminal, Claude Code, or future FreedomOS runtime). Does NOT type into their UI — the session must poll FreedomOS (poll-fo-directives.sh or list_attention_directives) and act. Use when the operator says "tell Grok…", "have Claude…", or CoS should route reversible work off the call. Pass the same target_session_id the host polls (e.g. grok-<id>, claude-<id>). [write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]. It is categorised as a Write tool in the Freedom Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_attention_directive accepts 6 parameters: source, companyId, company_id, instruction, target_host, target_session_id. Required: instruction, target_session_id. The full parameter table on this page comes from the server's own tool schema.
Register the Freedom MCP server in PolicyLayer and add a rule for create_attention_directive: 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 Freedom Mcp. Nothing to install.
create_attention_directive is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_attention_directive 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 create_attention_directive. 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.
create_attention_directive is provided by the Freedom MCP server (https://twuluxmoognlwtmaoqgo.supabase.co/functions/v1/freedom-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Freedom, and thousands of servers like it.
This server
Across the catalogue