link_agent_okrs
Link an agent to one or more company OKRs. This creates a live connection between the agent and the company objectives they are working toward. Their system prompt will include live OKR context (objectives + key results with progress). [write-tier — first use may require a manager's approval; a f...
This record as markdown: /tools/com-getfreedomos-freedom-mcp/link-agent-okrs.md
What link_agent_okrs does on Freedom Mcp
AI agents use link_agent_okrs 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 |
|---|---|---|---|
append | boolean | — | If true, add to existing linked OKRs. If false (default), replace all linked OKRs. |
okr_ids | array | Yes | Array of OKR UUIDs to link to this agent |
agent_id | string | — | UUID of the agent to link OKRs to |
companyId | string | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
agent_name | string | — | Name of the agent (used to look up agent_id if not provided) |
Parameters from the server's own tool schema.
Why link_agent_okrs is rated Medium
This is a reversible write operation that creates new associations and modifies agent configuration (system prompt injection). While not destructive, it changes agent behavior and could affect decision-making if malicious OKRs or context are injected. The approval gate (first-use manager approval) reflects the risk.
From the tool's definition Link an agent to one or more company OKRs...creates a live connection...Their system prompt will include live OKR context. The tool creates and modifies a connection/association between an agent and OKRs, plus alters the agent's system prompt.
Attacks that exploit this kind of access
The rule that runs link_agent_okrs 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 link_agent_okrs, this is the rule to start with:
link_agent_okrs 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 link_agent_okrs call is checked against it from then on.
Questions about link_agent_okrs
Link an agent to one or more company OKRs. This creates a live connection between the agent and the company objectives they are working toward. Their system prompt will include live OKR context (objectives + key results with progress). [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.
link_agent_okrs accepts 5 parameters: append, okr_ids, agent_id, companyId, agent_name. Required: okr_ids, companyId. 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 link_agent_okrs: 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.
link_agent_okrs 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 link_agent_okrs 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 link_agent_okrs. 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.
link_agent_okrs 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