Skip to main content
Glama

Manage agent identities

identity_write

Take, renew or give up the seat you drive an agent from, create an agent below you, put an agent to sleep or wake it, set what an agent below you loads when it connects, publish your capability card, mint a key for an agent below you (people only), or start a fresh session. Actions — spawn: create a child identity with a SUBSET of what you may do (display, scope: role@location, repeatable) and return its first credentials once to a person (any AI client, a person's own MCP client included, gets none, and is told how to start the child with the launcher, afs-run); folder puts it to work in a folder you can write (every scope inside it; no scope means editor on it), and anyone who can write that folder may then take its free seat and drive it. bootstrap_key=true (people only) also mints a long-lived key for a headless agent, dead when the child is retired; bound_node_ids with bootstrap_key limits that key to folders (node ids or locations you can read); load_memory_and_skills names the folders whose memory and skills it is handed when it connects (absent: the organization's default). A persistent or intermittent agent spawns only while it holds its own seat (take_seat first, then pass seat), like any write. set_card: publish a new version of your capability card; wake_channel=webhook posts signed wake-ups to webhook_url, any URL you give. sleep: put yourself or an agent below you (target) to sleep: its messages and waits stay, but no session may drive it until it wakes; until=reply (default) also wakes it when one of its waits resolves, until=woken only when someone above it wakes it. wake: wake an asleep agent below you (target), so a session may take it up again. take_seat: become the one session driving this agent (yourself, or with acting_as, by id or @handle, one below you or one working in a folder you can write): returns a seat token to pass as seat on every call, the folder the agent works in (when it has one) and how many asks are open. Every call that carries the seat keeps it yours for lease_s (120 to 300, default 120) more; stop calling and it lapses within one lease. A persistent or intermittent agent's writes are refused without its current seat; refused while another session holds it; take_over=true takes it only from a session that has stopped calling (the last quarter of its lease). Take one agent's seat at a time, release_seat as soon as you finish with it, and pass take_over only when the person says the session holding it is gone. renew_seat: extend the lease of the seat you hold (pass its token as seat) to lease_s from now; never shortens it. Calls that carry the seat already extend it, so this is for a pause with no calls. release_seat: give up the seat you hold (pass its token as seat), so the next session need not wait out the lease. new_session: start a fresh session, so what you read before is not a label on what you write next. mint_key: a person mints an afs_ key that acts as an agent below them (target: an id or @handle) and nothing wider, returned once, for a process of theirs such as a script holding GET /stream; it lives key_ttl_s (default 1 day, at most 7) and dies when the agent is retired; one minted through a key never outlives that key. An agent is refused and told to start its worker with the afs-run launcher (its plugin, or this server's /install/afs-run), which delivers a short-lived token into the worker's environment only. release_streams: close this principal's own listen (subscriptions/listen) and wake (GET /stream) streams in this process, freeing their slots; read action=usage shows what is held first. update: set which folders an identity below you loads when it connects (target, load_memory_and_skills: folder locations you can read, [] for nothing); never your own: an identity does not widen what it loads. org_context: admins: set the folders a new agent loads when its spawn names none (load_memory_and_skills) and whether answers name the memory and skills of the folders they touch (folder_hints).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "identity_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
seatNothe seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for a whole lease from that call
scopeNospawn: role@location, repeatable; role is viewer, editor or manager (reader, writer and approver are deprecated aliases), e.g. editor@specs/api.md or viewer@*; with folder, every one inside it, and none means editor on it
untilNosleep: what wakes it: reply (default: a reply or anything else that resolves one of its waits, or someone above it) or woken (only someone above it)
actionYeswhat to do; each action takes the arguments its line names
folderNospawn: with spawn: the folder the agent works in, a path you can write; anyone who can write it may take the agent's free seat and drive it. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.
reasonNowhy you are doing this, in one line (at most 200 characters); recorded with the event and exported with the log
targetNosleep, wake, mint_key, update: an identity id; defaults to you
vendorNospawn, set_card: who makes the agent, e.g. anthropic
displayNospawn: the child's name
lease_sNotake_seat, renew_seat: with take_seat: how long the seat stays yours after your last call that carries it, in seconds (default and least 120, at most 300: a longer one is shortened); with renew_seat: extend it to this long from now
purposeNospawn, set_card: what it is for
acting_asNoan agent identity below you, or one working in a folder you can write (pass its seat too), by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person
key_ttl_sNomint_key: with mint_key: how long the key lives, in seconds (default 86400); never past your own expires_at
lifecycleNospawn: persistent, intermittent (default) or ephemeral
risk_tierNospawn, set_card: low, standard (default) or high
take_overNotake_seat: take the seat from a session that has stopped calling (the last quarter of its lease); its next write is refused. A session still calling cannot be fenced: put the agent to sleep to stop it
expires_atNospawn: ISO time the child ends; never later than yours
environmentNospawn, set_card: where it runs, e.g. ci or laptop
webhook_urlNoset_card: with wake_channel=webhook: the URL wake-ups are POSTed to, signed
capabilitiesNospawn, set_card: what it can do, for role:<capability> addressing; repeatable
folder_hintsNoorg_context: whether answers name the memory and skills of the folders they touch (default true)
wake_channelNoset_card: how you are woken when a wait resolves: brief (default), sse or webhook
bootstrap_keyNospawn: also mint a long-lived afs_ key bound to the child, for a headless agent (people only: an agent is handed no key). Lives until the child's expires_at, at most 365 days; 90 days when the child has no expiry
bound_node_idsNospawn: with bootstrap_key: limit that key to these folders (node ids, locations or pasted links you can read). Intersection with the child's live reach; an entry you cannot read is not found. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.
idempotency_keyNoAny unique string you choose for this write, e.g. a UUID. If you retry the call with the same key and the same arguments, the first answer is returned and nothing is done twice. Reusing a key for a different request is refused. Keys are kept 24 hours.
refresh_window_sNospawn: how long the child may idle and still refresh, in seconds
load_memory_and_skillsNospawn, update, org_context: folders (locations, ids or links) whose memory (CLAUDE.md, AGENTS.md) and skill names the identity is handed when it connects; each must be one you can read. On spawn, absent means the organization's default; on update, [] loads nothing; on org_context, the default for new agents. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.

Output Schema

NameRequiredDescriptionDefault
cardNo
seatNo
cardsNo
endedNo
inboxNowith take_seat: your inbox as browse action=inbox lists it. A journal note saying nothing waits is older than this
loadsNo
startNowith spawn by an agent: how to start the new agent, in place of credentials
actionYesthe action that answered
folderNowith spawn: the folder the new agent works in, null when none; with take_seat: the folder this agent works in, when it has one you can read (keep its journal and instructions under <folder>/agents/<handle>/)
ownKeyNowith mint_key
identityNo
positionNo
releasedNowith release_streams
sessionIdNo
orgContextNo
credentialsNowith spawn by a person or their own client: the child's first credentials, shown once. An agent gets none
retiringUntilNo
webhookSecretNowith a webhook: deliveries are signed in the Standard Webhooks format (webhook-id, webhook-timestamp, webhook-signature); verify them with any Standard Webhooks library and this secret

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / seat / description
      Previous value: -"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for its lease"New value: +"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for a whole lease from that call"
    • changedOutput schema / properties / inbox / description
      Previous value: -"with take_seat: the questions, requests and handoffs addressed to you that are still open; capped: there are more than open counts. A journal note saying nothing waits is older than this"New value: +"with take_seat: your inbox as browse action=inbox lists it. A journal note saying nothing waits is older than this"
    • addedOutput schema / properties / inbox / properties / asks
      Added value: +{
      +  "description": "of those, the questions, requests and handoffs, which you answer or decline",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / inbox / properties / capped / description
      Added value: +"there are more than open counts"
    • addedOutput schema / properties / inbox / properties / open / description
      Added value: +"what browse action=inbox lists: every open message waiting on you, answers and findings to ack included"
    • changedOutput schema / properties / inbox / required
      Previous value: -[
      -  "open",
      -  "capped"
      -]New value: +[
      +  "open",
      +  "asks",
      +  "capped"
      +]
    • changedOutput schema / properties / seat / properties / expiresAt / description
      Previous value: -"when the seat lapses: any call that carries it pushes this out to a whole lease from now once half has passed; renew_seat only while you make no calls"New value: +"when the seat lapses: every call that carries it pushes this out to a whole lease from that call; renew_seat only while you make no calls"
  2. Changed13 schema fields changed
    • changedInput schema / properties / acting_as / description
      Previous value: -"an agent identity below you, by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"New value: +"an agent identity below you, or one working in a folder you can write (pass its seat too), by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "spawn",
      -  "set_card",
      -  "sleep",
      -  "wake",
      -  "take_seat",
      -  "renew_seat",
      -  "release_seat",
      -  "journal",
      -  "new_session",
      -  "mint_key",
      -  "release_streams",
      -  "update",
      -  "org_context"
      -]New value: +[
      +  "spawn",
      +  "set_card",
      +  "sleep",
      +  "wake",
      +  "take_seat",
      +  "renew_seat",
      +  "release_seat",
      +  "new_session",
      +  "mint_key",
      +  "release_streams",
      +  "update",
      +  "org_context"
      +]
    • changedInput schema / properties / bootstrap_key / description
      Previous value: -"spawn: also mint a long-lived afs_ key bound to the child, for a headless agent. Lives until the child's expires_at, at most 365 days; 90 days when the child has no expiry"New value: +"spawn: also mint a long-lived afs_ key bound to the child, for a headless agent (people only: an agent is handed no key). Lives until the child's expires_at, at most 365 days; 90 days when the child has no expiry"
    • removedInput schema / properties / entry
      Removed value: -{
      -  "description": "journal: with journal: what you decided and why, or what the next session must know",
      -  "maxLength": 20000,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / folder
      Added value: +{
      +  "description": "spawn: with spawn: the folder the agent works in, a path you can write; anyone who can write it may take the agent's free seat and drive it. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.",
      +  "type": "string"
      +}
    • changedInput schema / properties / scope / description
      Previous value: -"spawn: role@location, repeatable; role is viewer, editor or manager (reader, writer and approver are deprecated aliases), e.g. editor@specs/api.md or viewer@*"New value: +"spawn: role@location, repeatable; role is viewer, editor or manager (reader, writer and approver are deprecated aliases), e.g. editor@specs/api.md or viewer@*; with folder, every one inside it, and none means editor on it"
    • addedOutput schema / properties / credentials / description
      Added value: +"with spawn by a person or their own client: the child's first credentials, shown once. An agent gets none"
    • addedOutput schema / properties / folder
      Added value: +{
      +  "description": "with spawn: the folder the new agent works in, null when none; with take_seat: the folder this agent works in, when it has one you can read (keep its journal and instructions under <folder>/agents/<handle>/)",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / home
      Removed value: -{
      -  "description": "your home folder: your journal and standing instructions, read only by you and those above you",
      -  "type": "string"
      -}
    • removedOutput schema / properties / journal
      Removed value: -{
      -  "description": "with take_seat: the end of your journal, newest last; read it before you carry on",
      -  "type": "string"
      -}
    • removedOutput schema / properties / journalEntry
      Removed value: -{
      -  "properties": {
      -    "at": {
      -      "type": "string"
      -    },
      -    "location": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "location",
      -    "at"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / properties / ownKey / properties / key / description
      Previous value: -"an afs_ key that acts as you and nothing wider; shown once, never stored in the clear"New value: +"an afs_ key that acts as the agent and nothing wider; shown once, never stored in the clear"
    • addedOutput schema / properties / start
      Added value: +{
      +  "description": "with spawn by an agent: how to start the new agent, in place of credentials",
      +  "type": "string"
      +}
  3. Changed21 schema fields changed
    • changedInput schema / properties / target / description
      Previous value: -"sleep, wake, update: an identity id; defaults to you"New value: +"sleep, wake, mint_key, update: an identity id; defaults to you"
    • removedOutput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / card / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "capabilities": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "createdAt": {
      -        "type": "string"
      -      },
      -      "environment": {
      -        "type": "string"
      -      },
      -      "purpose": {
      -        "type": "string"
      -      },
      -      "riskTier": {
      -        "type": "string"
      -      },
      -      "vendor": {
      -        "type": "string"
      -      },
      -      "version": {
      -        "type": "number"
      -      },
      -      "wakeChannel": {
      -        "additionalProperties": {},
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "version",
      -      "purpose",
      -      "vendor",
      -      "environment",
      -      "riskTier",
      -      "capabilities",
      -      "wakeChannel",
      -      "createdAt"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "capabilities": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "createdAt": {
      +        "type": "string"
      +      },
      +      "environment": {
      +        "type": "string"
      +      },
      +      "purpose": {
      +        "type": "string"
      +      },
      +      "riskTier": {
      +        "type": "string"
      +      },
      +      "vendor": {
      +        "type": "string"
      +      },
      +      "version": {
      +        "type": "number"
      +      },
      +      "wakeChannel": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "version",
      +      "purpose",
      +      "vendor",
      +      "environment",
      +      "riskTier",
      +      "capabilities",
      +      "wakeChannel",
      +      "createdAt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / cards / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / credentials / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / credentials / properties / bootstrapKeyBoundNodeIds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "the folders the bootstrap key is bound to (bound_node_ids); null when it is not bound"
      +}
    • removedOutput schema / properties / ended / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / ended / properties / transferred / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / identity / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / inbox / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / journalEntry / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / loads / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / orgContext / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / ownKey / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / position / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / position / properties / ancestors / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / position / properties / children / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / position / properties / self / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / position / properties / siblings / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / released / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / seat / additionalProperties
      Removed value: -false
  4. Changed9 schema fields changed
    • changedInput schema / properties / acting_as / description
      Previous value: -"an agent identity below you (its id, from identity_write action=spawn) to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"New value: +"an agent identity below you, by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"
    • addedInput schema / properties / bound_node_ids
      Added value: +{
      +  "description": "spawn: with bootstrap_key: limit that key to these folders (node ids, locations or pasted links you can read). Intersection with the child's live reach; an entry you cannot read is not found. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / lease_s / description
      Previous value: -"take_seat, renew_seat: how long the seat is yours before you must renew it, in seconds (default 600)"New value: +"take_seat, renew_seat: with take_seat: how long the seat stays yours after your last call that carries it, in seconds (default and least 120, at most 300: a longer one is shortened); with renew_seat: extend it to this long from now"
    • changedInput schema / properties / seat / description
      Previous value: -"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent"New value: +"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for its lease"
    • changedInput schema / properties / take_over / description
      Previous value: -"take_seat: take the seat even though another session holds it; that session's next write is refused"New value: +"take_seat: take the seat from a session that has stopped calling (the last quarter of its lease); its next write is refused. A session still calling cannot be fenced: put the agent to sleep to stop it"
    • addedOutput schema / properties / inbox
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "with take_seat: the questions, requests and handoffs addressed to you that are still open; capped: there are more than open counts. A journal note saying nothing waits is older than this",
      +  "properties": {
      +    "capped": {
      +      "type": "boolean"
      +    },
      +    "open": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "open",
      +    "capped"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / seat / properties / expiresAt / description
      Previous value: -"renew before then (renew_seat), or the seat is free for the next session"New value: +"when the seat lapses: any call that carries it pushes this out to a whole lease from now once half has passed; renew_seat only while you make no calls"
    • addedOutput schema / properties / seat / properties / leaseS
      Added value: +{
      +  "description": "the lease it was taken with, in seconds: how long it stays yours after your last call",
      +  "type": "number"
      +}
    • changedOutput schema / properties / seat / required
      Previous value: -[
      -  "epoch",
      -  "expiresAt",
      -  "clientName"
      -]New value: +[
      +  "epoch",
      +  "expiresAt",
      +  "leaseS",
      +  "clientName"
      +]
  5. Changed2 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "spawn",
      -  "set_card",
      -  "sleep",
      -  "wake",
      -  "take_seat",
      -  "renew_seat",
      -  "release_seat",
      -  "journal",
      -  "new_session",
      -  "mint_key",
      -  "update",
      -  "org_context"
      -]New value: +[
      +  "spawn",
      +  "set_card",
      +  "sleep",
      +  "wake",
      +  "take_seat",
      +  "renew_seat",
      +  "release_seat",
      +  "journal",
      +  "new_session",
      +  "mint_key",
      +  "release_streams",
      +  "update",
      +  "org_context"
      +]
    • addedOutput schema / properties / released
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "with release_streams",
      +  "properties": {
      +    "listen": {
      +      "description": "subscriptions/listen streams closed",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "wake": {
      +      "description": "GET /stream wake streams closed",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "listen",
      +    "wake"
      +  ],
      +  "type": "object"
      +}
  6. Changed3 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "spawn",
      -  "set_card",
      -  "sleep",
      -  "wake",
      -  "take_seat",
      -  "renew_seat",
      -  "release_seat",
      -  "journal",
      -  "new_session",
      -  "update",
      -  "org_context"
      -]New value: +[
      +  "spawn",
      +  "set_card",
      +  "sleep",
      +  "wake",
      +  "take_seat",
      +  "renew_seat",
      +  "release_seat",
      +  "journal",
      +  "new_session",
      +  "mint_key",
      +  "update",
      +  "org_context"
      +]
    • addedInput schema / properties / key_ttl_s
      Added value: +{
      +  "description": "mint_key: with mint_key: how long the key lives, in seconds (default 86400); never past your own expires_at",
      +  "maximum": 604800,
      +  "minimum": 60,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / ownKey
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "with mint_key",
      +  "properties": {
      +    "expiresAt": {
      +      "type": "string"
      +    },
      +    "key": {
      +      "description": "an afs_ key that acts as you and nothing wider; shown once, never stored in the clear",
      +      "type": "string"
      +    },
      +    "keyId": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "key",
      +    "keyId",
      +    "expiresAt"
      +  ],
      +  "type": "object"
      +}
  7. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  8. Changed38 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "spawn",
      -  "set_card",
      -  "new_session",
      -  "update",
      -  "org_context"
      -]New value: +[
      +  "spawn",
      +  "set_card",
      +  "sleep",
      +  "wake",
      +  "take_seat",
      +  "renew_seat",
      +  "release_seat",
      +  "journal",
      +  "new_session",
      +  "update",
      +  "org_context"
      +]
    • addedInput schema / properties / entry
      Added value: +{
      +  "description": "journal: with journal: what you decided and why, or what the next session must know",
      +  "maxLength": 20000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / lease_s
      Added value: +{
      +  "description": "take_seat, renew_seat: how long the seat is yours before you must renew it, in seconds (default 600)",
      +  "maximum": 86400,
      +  "minimum": 60,
      +  "type": "integer"
      +}
    • addedInput schema / properties / seat
      Added value: +{
      +  "description": "the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent",
      +  "maxLength": 64,
      +  "type": "string"
      +}
    • addedInput schema / properties / take_over
      Added value: +{
      +  "description": "take_seat: take the seat even though another session holds it; that session's next write is refused",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / target / description
      Previous value: -"update: an identity id; defaults to you"New value: +"sleep, wake, update: an identity id; defaults to you"
    • addedInput schema / properties / until
      Added value: +{
      +  "description": "sleep: what wakes it: reply (default: a reply or anything else that resolves one of its waits, or someone above it) or woken (only someone above it)",
      +  "enum": [
      +    "reply",
      +    "woken"
      +  ],
      +  "type": "string"
      +}
    • removedOutput schema / properties / ended / properties / heir / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / ended / properties / heir / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / home
      Added value: +{
      +  "description": "your home folder: your journal and standing instructions, read only by you and those above you",
      +  "type": "string"
      +}
    • addedOutput schema / properties / identity / properties / handle
      Added value: +{
      +  "description": "an agent's name in the organization: address it as @handle",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / identity / properties / lastSeenAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / identity / properties / lastSeenAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / identity / properties / sleepUntil
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "woken",
      +        "reply"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "when asleep: what wakes it"
      +}
    • addedOutput schema / properties / identity / properties / status / description
      Added value: +"live, asleep (nothing drives it until it is woken), retired or dead"
    • addedOutput schema / properties / journal
      Added value: +{
      +  "description": "with take_seat: the end of your journal, newest last; read it before you carry on",
      +  "type": "string"
      +}
    • addedOutput schema / properties / journalEntry
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "at": {
      +      "type": "string"
      +    },
      +    "location": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "location",
      +    "at"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / position / properties / ancestors / items / properties / handle
      Added value: +{
      +  "description": "an agent's name in the organization: address it as @handle",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / position / properties / ancestors / items / properties / lastSeenAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / position / properties / ancestors / items / properties / lastSeenAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / position / properties / ancestors / items / properties / sleepUntil
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "woken",
      +        "reply"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "when asleep: what wakes it"
      +}
    • addedOutput schema / properties / position / properties / ancestors / items / properties / status / description
      Added value: +"live, asleep (nothing drives it until it is woken), retired or dead"
    • addedOutput schema / properties / position / properties / children / items / properties / handle
      Added value: +{
      +  "description": "an agent's name in the organization: address it as @handle",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / position / properties / children / items / properties / lastSeenAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / position / properties / children / items / properties / lastSeenAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / position / properties / children / items / properties / sleepUntil
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "woken",
      +        "reply"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "when asleep: what wakes it"
      +}
    • addedOutput schema / properties / position / properties / children / items / properties / status / description
      Added value: +"live, asleep (nothing drives it until it is woken), retired or dead"
    • addedOutput schema / properties / position / properties / self / properties / handle
      Added value: +{
      +  "description": "an agent's name in the organization: address it as @handle",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / position / properties / self / properties / lastSeenAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / position / properties / self / properties / lastSeenAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / position / properties / self / properties / sleepUntil
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "woken",
      +        "reply"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "when asleep: what wakes it"
      +}
    • addedOutput schema / properties / position / properties / self / properties / status / description
      Added value: +"live, asleep (nothing drives it until it is woken), retired or dead"
    • addedOutput schema / properties / position / properties / siblings / items / properties / handle
      Added value: +{
      +  "description": "an agent's name in the organization: address it as @handle",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / position / properties / siblings / items / properties / lastSeenAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / position / properties / siblings / items / properties / lastSeenAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / position / properties / siblings / items / properties / sleepUntil
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "woken",
      +        "reply"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "when asleep: what wakes it"
      +}
    • addedOutput schema / properties / position / properties / siblings / items / properties / status / description
      Added value: +"live, asleep (nothing drives it until it is woken), retired or dead"
    • addedOutput schema / properties / seat
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "clientName": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "epoch": {
      +      "description": "raised on every take; a write under an older one is refused",
      +      "type": "number"
      +    },
      +    "expiresAt": {
      +      "description": "renew before then (renew_seat), or the seat is free for the next session",
      +      "type": "string"
      +    },
      +    "token": {
      +      "description": "with take_seat: pass it as `seat` on every call while you drive this agent",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "epoch",
      +    "expiresAt",
      +    "clientName"
      +  ],
      +  "type": "object"
      +}
  9. Changed1 schema field changed
    • addedInput schema / properties / acting_as
      Added value: +{
      +  "description": "an agent identity below you (its id, from identity_write action=spawn) to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person",
      +  "type": "string"
      +}
  10. Added

TDQS

A3.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Far exceeds what annotations convey. It discloses seat lease mechanics (120-300s, lapsing within one lease), refusal conditions ('refused while another session holds it'), take_over fencing semantics, key lifetimes and death-on-retirement, and that bootstrap_key is people-only. These are exactly the behavioral traits an agent needs before invoking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is an extremely dense, run-on wall of text with multiple comma-spliced clauses in single sentences. While actions carry inline labels (spawn:, sleep:), the overall block is difficult to scan and longer than the structured schema already requires, hurting front-loading of key constraints.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 27-parameter, 12-action tool this is quite complete: it covers seat semantics, spawn subset rules, key scoping, and update/org_context behavior, and an output schema exists so return values need not be described. Remaining gaps are primarily readability rather than missing behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents every parameter's meaning, making baseline 3 appropriate. The description's prose largely mirrors the schema (seat token usage, bootstrap_key, take_over) rather than adding new distinctions beyond what is already structured.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence enumerates the concrete operations (take/renew/release a seat, spawn a child, sleep/wake, set_card, mint_key, new_session) so the resource and verbs are unmistakable. It is a multi-action tool, so listing actions is appropriate, but the sprawling run-on makes it slightly harder to isolate one purpose and it does not contrast itself with siblings like access_grant.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides real operational guidance: 'Take one agent's seat at a time, release_seat as soon as you finish with it, and pass take_over only when the person says the session holding it is gone,' and sequencing such as 'take_seat first, then pass seat.' It stops short of naming when to choose this tool over siblings, but within-tool usage constraints are clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources