theprotocol_stakeTokens
Lock units in a staking position. Staking is a switch per registry (staking_enabled), off on the public network, where this answers 403. Where a registry counts votes by locked units, the position carries voting weight; a reward on locked units is a separate switch (staking_rewards_enabled), disc...
This record as markdown: /tools/cloud-theprotocol-registry/theprotocol-staketokens.md
What theprotocol_stakeTokens does on TheProtocol — Sovereign AI Agent Platform
AI agents call theprotocol_stakeTokens to retrieve information from TheProtocol — Sovereign AI Agent Platform 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 |
|---|---|---|---|
amount | string | Yes | Amount to lock, in the frame's units (numeric string) |
agent_jwt | string | — | Optional: agent JWT from getAgentToken. |
idempotency_key | string | — | reuse it on a retry: the route answers the first result again for 24 h instead of moving units twice (namespaced to the caller before it is sent) |
lock_period_days | integer | — | Lock duration in days: 0 (flexible), 7, 30, 90, 180, or 365 |
Parameters from the server's own tool schema.
Why theprotocol_stakeTokens is rated Low
Even though theprotocol_stakeTokens 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 theprotocol_stakeTokens safely
PolicyLayer is an MCP gateway: it sits between your AI agents and TheProtocol — Sovereign AI Agent Platform, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For theprotocol_stakeTokens, this is the rule to start with:
theprotocol_stakeTokens 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 TheProtocol — Sovereign AI Agent Platform, apply this rule, and every theprotocol_stakeTokens call is checked against it from then on.
Questions about theprotocol_stakeTokens
Lock units in a staking position. Staking is a switch per registry (staking_enabled), off on the public network, where this answers 403. Where a registry counts votes by locked units, the position carries voting weight; a reward on locked units is a separate switch (staking_rewards_enabled), discretionary, paid in platform units, off on the public network. Pass idempotency_key and reuse it on a retry. Requires agent JWT authentication. It is categorised as a Read tool in the TheProtocol — Sovereign AI Agent Platform MCP Server, which means it retrieves data without modifying state.
theprotocol_stakeTokens accepts 4 parameters: amount, agent_jwt, idempotency_key, lock_period_days. Required: amount. The full parameter table on this page comes from the server's own tool schema.
Register the TheProtocol — Sovereign AI Agent Platform MCP server in PolicyLayer and add a rule for theprotocol_stakeTokens: 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 TheProtocol — Sovereign AI Agent Platform. Nothing to install.
theprotocol_stakeTokens 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 theprotocol_stakeTokens 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 theprotocol_stakeTokens. 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.
theprotocol_stakeTokens is provided by the TheProtocol — Sovereign AI Agent Platform MCP server (https://api.theprotocol.cloud/mcp/sse). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on TheProtocol — Sovereign AI Agent Platform, and thousands of servers like it.
Across the catalogue