Skip to main content
Glama

Server Details

Shared memory for coding agents. Stop re-explaining your codebase every session.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
teamshared-ai/teamshared-plugin
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

C2.6/5.0

Scored across 218 tools

Disambiguation2/5

The set covers many domains, but several tool clusters have unclear boundaries: memory_recall, memory_think, memory_assemble_context, memory_context_pack, and memory_changes_since all retrieve or assemble memory; file_, storage_, and work_ attachment paths overlap; and playbook/procedure aliases explicitly duplicate functionality. With 218 tools, an agent can easily choose a plausible but wrong retrieval, publish, or attachment tool.

Naming Consistency3/5

Most names are snake_case and domain-prefixed, but conventions vary between verb-first (work_create), verb-suffixed (project_member_add), noun-only (health, version, task_report, process_template), and explicit aliases (memory_playbook_get vs memory_procedure_get). The naming is still mostly readable, but it is not a uniform verb_noun pattern across the whole server.

Tool Count1/5

218 tools is an extreme mismatch for a single MCP server and far beyond the 50+ threshold for the worst count score. Even if each domain is useful, the surface is too sprawling to navigate reliably as one coherent toolset.

Completeness3/5

Coverage is broad across work, projects, files, storage, agents, memory, process runs, GitHub, and reviews, but there are notable gaps and dead ends. For example, process_run_fail refers to a cancel operation that is not present, and several resources rely on archive/close rather than full delete or update coverage.

Available Tools

218 tools
account_briefAInspect

Weekly account file for one strategic Person or Organization.

Writes one shared file (stakeholders, initiative, objections, last evidence, next review, five-line brief) attached as an artifact on a create-once account work item. Returns {changed: false} and does not comment when the picture is unchanged. Weekly schedule is bot-side.

Inputs: slug (required), agent. Returns: object

agent_access_decisionsAInspect

Read the append-only allow / notify / ask / block decision log. org:admin, not an agent seat.

Inputs: limit, agent_id. Returns: object

agent_access_getAInspect

Read the org access ceiling and one agent's rules and kill switch. org:admin, and not an agent seat.

Inputs: agent_id. Returns: object

agent_access_killAInspect

Turn an agent's kill switch, or the org-wide switch, on or off. Stops active runs after the decision is logged. org:admin, not an agent seat.

Inputs: scope (required), killed (required), reason, agent_id. Returns: object

agent_access_setAInspect

Replace an org ceiling or one agent's access rules. org:admin signed in as themselves. An agent cannot call this.

Inputs: rules (required), scope (required), mode, agent_id. Returns: object

agent_createAInspect

Create a dedicated agent record (#733/#734): model, tools, standing procedure, memory lens, focus and an optional spend cap. Needs org:admin; agent seats are refused. warnings lists tool patterns this deployment will not grant (shell, when the deployment has not turned it on).

Inputs: slug (required), kind, agent, focus, +11 more. Returns: object

agent_exportAInspect

Export an agent record as a versioned spec (org admin). Returns the spec and the same as YAML, ready to commit to a repo. No ids, no secrets: an MCP server entry names a vault secret, never holds one.

Inputs: slug (required). Returns: object

agent_getAInspect

Read one agent record: kind, status, model pin, tool patterns and, when a cap is set, a budget block (spent vs cap for the current UTC period; null when there is no cap). If the spend lookup fails the block keeps the saved period and budget_usd and sets error to unavailable. The org-visible charter is the entity's memory: memory_agent_get(slug=).

Inputs: slug (required). Returns: object

agent_importAInspect

Make the org's agent record match a spec: create it, or update the fields that differ (org admin). Without apply this is a dry run that lists the changes. Goes through agent.create / agent.update, so every screen and permission they apply still applies; kind cannot change.

Inputs: spec (required), apply. Returns: object

agent_listBInspect

List this org's agent records, oldest first (the manager leads). Each row includes a budget block when that agent has a spend cap.

Inputs: kind, limit, cursor, status. Returns: object

agent_routine_listBInspect

List routines on one agent: cron, timezone, next fire, last status.

Inputs: agent_slug (required), limit, cursor. Returns: object

agent_routine_setAInspect

Create or update a standing cron routine on an agent (#736). Each fire starts a run bound to that agent as an unattended run, on the authority of the person setting it; the outcome posts into their channel with the agent. org:admin, as a person (or the manager acting for one); specialist seats are refused.

Inputs: cron (required), name (required), prompt (required), agent_slug (required), +3 more. Returns: object

agent_run_cancelCInspect

Cancel the active TeamShared Cloud Agent run.

Inputs: agent, run_id, cursor_agent_id. Returns: object

agent_run_childAInspect

Run a nested Cloud Agent to completion; returns summary and artifact refs only.

Only available inside an active TeamShared Cloud Agent run. The child's transcript is not appended to this run's message history.

Inputs: brief (required), repo, agent, model, +3 more. Returns: object

agent_run_followupAInspect

Enqueue a follow-up prompt on an existing TeamShared Cloud Agent.

Runs on the seat's recorded model, re-checked like agent_run_start; a swap is reported as model_substitution. Keeps the run's tools narrowing and agent record. From inside a run, those tools are also limited to the calling run's allowlist (tools_not_permitted when nothing overlaps); a calling run of kind child drops shell, browser and secret HTTP the same way a nested start does. A follow-up with no calling run keeps the target run's tools. A follow-up on a run bound to an agent that has spent its cap is refused with agent_budget_exceeded; the turn already running is not stopped.

Inputs: prompt (required), agent, run_id, cursor_agent_id. Returns: object

agent_run_hitl_decideAInspect

Resume a paused agent run after a human decides on a gated tool call (#872).

Inputs: run_id (required), decision (required), agent, reason, +1 more. Returns: object

agent_run_listAInspect

List TeamShared Cloud Agent runs in this org.

Inputs: limit, offset, work_id, cursor_agent_id. Returns: object

agent_run_startAInspect

Start a TeamShared Cloud Agent (router + FastMCP). Not a Cursor VM.

The worker mints a short-lived org tsk_ and runs the tool loop against in-process FastMCP. github= is an optional checkout. One active run per work item — a busy run returns status=busy. When the compact bootstrap profile is non-empty it is prepended (capped). When work_id has playbook_slug, that named playbook is prepended after the profile, its skills listed by name for the run to load with memory_skill_get. Unset slug or omitted work_id: no playbook inject. run.model is the model that will run: a model= the router would refuse is substituted (see model_substitution). agent_slug= binds the run to an agent record (#733); the result's agent.inherited says which settings came from it. When that record has a spend cap and the period's spend is at or over it, the start is refused (agent_budget_exceeded) and nothing is queued. From inside a run, tools cannot exceed that run's allowlist (tools_not_permitted when nothing overlaps), and the new run is nested under that run. A chain of nested starts stops at a fixed depth (nesting_depth_exceeded). With no calling run, parent_run_id must name a run in this org (parent_run_not_found, or bad_id).

Inputs: prompt (required), repo, agent, model, +9 more. Returns: object

agent_run_statusAInspect

Read one TeamShared Cloud Agent run.

Pass the id agent_run_list returned. That row's cursor_agent_id or cursor_run_id (with or without dashes) also resolves as run_id. A cursor_agent_id is the latest run of that agent this caller can see.

Inputs: run_id, cursor_agent_id. Returns: object

agent_run_steeringAInspect

Steer a running TeamShared Cloud Agent run mid-execution.

The agent reads the message at its next model round, as a user turn. A run that is not running refuses it: use agent_run_followup instead. Only runs in the caller's own run-control slice can be steered.

Inputs: message (required), run_id, cursor_agent_id. Returns: object

agent_run_trace_exportAInspect

Return a terminal run's trace as OTLP/JSON spans with OpenTelemetry GenAI attributes (invoke_agent > chat and execute_tool). POST the otlp value to any OTLP/HTTP collector at /v1/traces (Langfuse, Datadog, Grafana Tempo, an OTel Collector). Ids are stable per run, so re-sending updates the trace.

Inputs: run_id (required), include_io. Returns: object

agent_run_trace_getAInspect

Return the stored model/tool/error trace tree for a terminal run (#874).

Inputs: run_id (required), include_io. Returns: object

agent_updateAInspect

Change an agent record: tools, status, standing procedure, lens, focus or spend cap. Needs org:admin; agent seats are refused, and the manager's record is fixed (no cap on the manager). warnings lists tool patterns this deployment will not grant (shell, when the deployment has not turned it on).

Inputs: slug (required), agent, focus, model, +13 more. Returns: object

attention_snapshotAInspect

Org attention briefing from open work, project status, and dream.

Work is the signal — not Slack or email. Writes one shared file (attached as an artifact on a create-once org attention work item). Returns {changed: false} and does not comment when the picture is unchanged. Hourly schedule is bot-side.

Inputs: agent. Returns: object

context_commitAInspect

Turn-end batch: assistant summary + durable writes + optional close.

One call replaces the end-of-turn memory_session_append + memory_remember (+ memory_session_close + memory_state_set) sequence. The append self-heals expired sessions; the response's session_id is authoritative. Returns {session_id, turn_count, reopened, memories, closed, org, bound}.

Inputs: summary (required), repo, agent, close, +4 more. Returns: object

context_compressAInspect

Compress a prompt payload before it reaches an LLM.

Shrinks JSON tool outputs, logs, and long text using SmartCrusher-lite sampling. Originals are stored in CCR (Redis) with ref= markers for context_retrieve. Always runs; tune thresholds via TEAMSHARED_COMPRESS_*.

Inputs: messages (required). Returns: object

context_normalizeAInspect

Strip, clean, and compress a non-teamshared tool output for agent context.

Trims recall-style payloads, shrinks large JSON/logs, and stores originals in CCR when compressed. Prefer letting MCP middleware handle teamshared tools automatically; call this for Shell, Grep, or other harness tools.

Inputs: output (required), tool_name (required). Returns: object

context_prepareAInspect

Pre-LLM pipeline: session append → compress incoming history → enrich.

Returns compressed messages, optional additional_context (org memory), session_id, and stats. Use before sending a turn to your LLM when you want teamshared to shrink tool bloat and inject recall. Server-side MCP middleware already normalizes teamshared tool responses; this covers the rest of the prompt.

Inputs: repo, enrich, github, prompt, +4 more. Returns: object

context_retrieveBInspect

Retrieve the original content for a compressed block via CCR ref.

Inputs: ref (required). Returns: object

credits_balanceAInspect

Return the current org's prepaid router credit balance.

Balance is in micro-USD (1 USD = 1,000,000 micro-USD). A free org receives its monthly allowance on this read, once per UTC month. Credit packs are purchased on the billing page, not through this tool.

Inputs: no named parameters. Returns: object

diagram_generateAInspect

Sketch a teamshared.diagram/v1 from GitHub manifests and store it.

Reads the repo tree plus README, compose, package manifests, infra/, and SQL migrations. Produces mode=generated Mermaid (C4-container or ER sketch — not architecture recovery). Source metadata (github, ref, commit, paths, content_hash) lives on the document; TeamShared is not a git host. Pass work_id / project_id to attach. Refresh later with diagram_sync.

This generator emits teamshared.diagram/v1 only. For the layered 3D scene (teamshared.diagram/v2), author the scene yourself with file_create(content_format='diagram').

Inputs: ref, kind, view, agent, +4 more. Returns: object

diagram_syncAInspect

Re-fetch mapped GitHub paths and append a version if they changed.

No-op when commit + content hash match. mode=authored is refused unless force=true (then the new version is mode=generated). No webhook or periodic worker — call this when you want a refresh. teamshared.diagram/v2 scenes are authored, so this returns changed=false, reason='scene' instead of overwriting them.

Inputs: file_id (required), ref, agent, force. Returns: object

eval_caseAInspect

Add a finished run to a dataset as a case with what it should have done, list a dataset's cases with their last result, or delete a case. A case reads the run's stored trace when scored.

Inputs: action (required), label, expect, run_id, +2 more. Returns: object

eval_datasetBInspect

Create, list or delete eval datasets: named sets of cases scored by eval_run. Deleting a dataset deletes its cases and results.

Inputs: action (required), name, dataset_id, description. Returns: object

eval_runAInspect

Score every case in a dataset against its run's stored trace and return pass/fail per case with the reason for each check (outcome, trajectory). Rule-based: no model call, no cost.

Inputs: dataset_id (required). Returns: object

event_appendBInspect

Append one event to a stream. History is never mutated.

Inputs: type (required), stream_id (required), actor, agent, +3 more. Returns: object

event_listBInspect

List append-only events for a stream (timeline order).

Inputs: limit, since, until, export, +2 more. Returns: object

evidence_attachAInspect

Attach evidence to a Process run via an append-only event.

Source of truth is evidence.attached on run:{id}. A second attach to the same slot supersedes the previous pointer. Agents should prefer this (or file_create(work_id=) auto-attach) over mutating a case-file row.

Inputs: run_id (required), pointer (required), kind, slot, +5 more. Returns: object

evidence_getAInspect

Read the case-file spine (required / received / missing / superseded).

Projection over run:{id} events. Work/Project pass-throughs merge every linked run. Pass one of run_id, work_id, or project_id.

Inputs: run_id, work_id, project_id. Returns: object

evidence_requireBInspect

Declare required evidence on a Process run (append-only event).

Folded with received attachments into missing / received / superseded.

Inputs: slot (required), run_id (required), kind, step, +2 more. Returns: object

file_appendAInspect

Add a section to a shared file without sending the existing body.

Markdown and HTML only. Diagram and sheet files are rejected; replace those with file_update. The server reads the latest version, joins content at position with separator, and writes a new immutable version. The section must fit in one call; the resulting file may be larger, because the client never sends it.

Returns file_id, version, total_chars, and appended_chars. The body is not returned. A published file is mirrored to the bucket the same way file_update does. A stale expected_version writes nothing and returns the same conflict shape as file_update. Omit it to append to whatever is latest.

Inputs: content (required), file_id (required), agent, position, +2 more. Returns: object

file_archiveAInspect

Archive a shared file (excluded from active lists) and clean up its bucket mirror (if published).

Archived files are retained with full version history for audit; the public /s/{share_token} route returns 404 for an archived file.

Inputs: file_id (required). Returns: object

file_createAInspect

Create a new versioned shared file in the caller's org.

Shared files default to private. Call file_publish to generate the public share URL (/s/{share_token}). Each file_update creates a new immutable version row. Pass work_id to attach it to a task and/or project_id to attach it to a project (same shared_files row; project attachments are kind=artifact only).

content_format='diagram' takes either diagram schema:

  • teamshared.diagram/v1 — body: {format: mermaid, text: "..."}, rendered as Mermaid. Best for flowcharts, sequences, and ER sketches.

  • teamshared.diagram/v2 — body: {format: scene, layers: [...], nodes: [...], edges: [...]}, rendered as a layered 3D scene where each layer is a plane (infra / software / data by convention), each node sits on one layer, and edges may cross layers. kind (default system), view (layers), mode (authored) and body.camera are optional. Every node needs id and layer; shape is box | cylinder | sphere | cone; edges are {from, to, label?, kind?} with kind one of sync | async | data | depends. Omit x/z to get an automatic grid on the plane. Caps: 8 layers, 300 nodes, 600 edges, 256 KiB. Unknown keys are rejected.

Inputs: title (required), content (required), agent, work_id, +2 more. Returns: object

file_getAInspect

Fetch a shared file's latest version.

Returns version. Pass it as expected_version on file_update when you edit a shared file. total_chars is the full size in characters.

Omit offset and limit to return the whole file. This result is not compressed: a shortened file is not the file you asked for. For a large file, pass offset and limit (characters, at most 32000) and read it in pieces. A negative offset counts from the end, so the latest section can be read without the rest of the document. truncated is true when content is not the whole file. Includes public_url (the /s/{slug} link) when published.

To add a dated section to a large file, read the tail with a negative offset and call file_append instead of rewriting the whole body.

Inputs: file_id (required), limit, offset. Returns: object

file_listAInspect

List active shared files in the caller's org, newest update first.

Each file includes public_url (the /s/{slug} link, or /s/{share_token} if no slug) when published, plus slug and share_token. Use query to find a file by title without listing everything — e.g. file_list(query="yield vault"). Pass work_id to list documents + the agent transcript on a task (Storage artifact joins; transcripts stay on work_item_files), or project_id for a project's documents. storage_list is canonical for every Storage join including blobs. project_id wins if both filters are set. Archived files stay joined but are omitted.

Inputs: limit, query, work_id, project_id. Returns: object

file_publishAInspect

Publish a shared file: generate the public share token + slug and URL.

Idempotent: returns the existing token/slug if already published. The latest rendered HTML is eagerly pushed to the Railway bucket. The public URL is /s/{slug} (human-readable, from the title) with /s/{share_token} as a fallback; both are returned in the response.

Agent seats (org tsk_ / agent_run) are refused — call request_gated_approval(gate="publish") instead. Console humans (ts_session) still publish.

Inputs: file_id (required). Returns: object

file_unpublishAInspect

Revoke public access to a shared file (visibility back to private).

The share token is retained for audit; the public route returns 404. Best-effort removes the mirrored objects from the Railway bucket.

Inputs: file_id (required). Returns: object

file_updateAInspect

Append a new version to an existing shared file.

Omit expected_version to append prior-max-plus-one. Pass the version from file_get when editing a shared file so a concurrent writer is not overwritten. A mismatch writes nothing and returns status=conflict with the file id and a short preview, not the file body. Re-read with file_get (offset / limit) and retry. If the file is published, a successful new version is eagerly mirrored to the Railway bucket. Old versions are never mutated.

To add a dated section to a large file, read the tail with a negative offset and call file_append instead of rewriting the whole body.

Inputs: content (required), file_id (required), agent, content_format, +1 more. Returns: object

file_upload_requestAInspect

Get a one-time uploader script to push a local file into a shared file.

For large local HTML/Markdown files that don't fit inline in file_create/file_update. PDFs and other binaries are Storage objects (storage_upload_request); this path is UTF-8 documents only. Returns upload_url, upload_token, an expires_in_seconds TTL, and a self-deleting Python script. Save the script to disk and run python3 upload.py /path/to/file; it reads the file, POSTs it to the server with the one-time token, prints the resulting file id (and public URL if publish=true), and deletes itself on success. The token is single-use and expires in ~10 min.

Update mode: pass file_id to append the uploaded body as a new version to an existing shared file (the title is ignored; the existing file's title/slug/share_token are preserved, and the bucket mirror is re-published to the new version when the file is already published). This is the supported way to push a new version of a large file.

Inputs: title (required), agent, file_id, publish, +5 more. Returns: object

file_version_deleteAInspect

Delete a single version of a shared file (destructive, irreversible).

Refuses to delete the only remaining version. If the deleted version was the current (latest) one, current_version is bumped back to the new max and -- when the file is published -- the bucket mirror is re-published to that new current version so the public /s/{slug} route stays consistent. Returns deleted, current_version_changed, and the updated file.

Inputs: file_id (required), version (required). Returns: object

github_closeAInspect

Close an issue or pull request.

Requires the org's agent-writes switch. Closing follows the org's review settings for destructive actions (a person's approval by default).

Inputs: kind (required), number (required), github. Returns: object

github_commentAInspect

Comment on an issue or pull request in this run's repository.

Requires the org's agent-writes switch.

Inputs: body (required), number (required), github. Returns: object

github_deleteAInspect

Delete a branch or a ref.

Requires the org's agent-writes switch. Deleting follows the org's review settings for destructive actions (a person's approval by default). The bound repository cannot be deleted.

Inputs: target (required), name, github. Returns: object

github_file_getAInspect

Read one file from a connected repo.

Large files come back truncated with truncated=true. Requires memory:read. Same binding errors as github_repo_get.

Inputs: path (required), github (required), ref. Returns: object

github_issue_getAInspect

Fetch one issue from a connected repo.

The body is an excerpt. Requires memory:read. Same binding errors as github_repo_get.

Inputs: github (required), number (required). Returns: object

github_issue_listBInspect

List issues in a connected repo. Pull requests are omitted.

Requires memory:read. Same binding errors as github_repo_get.

Inputs: github (required), state. Returns: object

github_mergeAInspect

Merge a pull request.

Requires the org's agent-writes switch. Merging follows the org's review settings for destructive actions (a person's approval by default).

Inputs: number (required), github. Returns: object

github_open_prAInspect

Open a pull request on this run's repository.

Requires the org's agent-writes switch. Opening a pull request does not merge it. The repository is the run's bound github=.

Inputs: body (required), head (required), title (required), base, +2 more. Returns: object

github_pr_checksBInspect

Check-run status for one pull request's head commit.

Requires memory:read. unavailable=forbidden when the installation token cannot read check runs. Same binding errors as github_repo_get.

Inputs: github (required), number (required). Returns: object

github_pr_getAInspect

Fetch one pull request, including a capped file list and diff.

truncated=true when the diff or the file list was cut. Requires memory:read. Same binding errors as github_repo_get.

Inputs: github (required), number (required). Returns: object

github_pr_listBInspect

List pull requests in a connected repo.

Requires memory:read. Same binding errors as github_repo_get.

Inputs: github (required), state. Returns: object

github_pushAInspect

Push a branch from this run's checkout.

Requires the org's agent-writes switch. A non-default branch pushes when the switch is on. Pushing the default branch follows the org's review settings for destructive actions (a person's approval by default). Force-push is refused. The token is the acting user's, or a one-repo installation token minted for this call.

Inputs: branch (required), force, github. Returns: object

github_repo_getAInspect

Repository metadata for one connected repo.

Requires memory:read. A repo outside the installation is github_repo_not_bound. No installation is github_app_not_installed with install_url. A failed installation read is github_binding_unavailable.

Inputs: github (required). Returns: object

github_repo_listAInspect

Repos this org's GitHub App installations serve.

This is whether GitHub is connected. repos is the canonical enabled set minus disabled repos, sorted. installed is false when the org has no installation. install_url is the install link (the Settings page when the App is unconfigured). A memory tool's bound / session_bound field is not this list: it is the MCP org-session overlay, and writes still go to the token's org.

Inputs: no named parameters. Returns: object

github_treeAInspect

List one directory of a connected repo.

The listing is capped. truncated=true when entries were dropped. Requires memory:read. Same binding errors as github_repo_get.

Inputs: github (required), ref, path. Returns: object

glian_run_nowAInspect

Queue one manual pass of a glian for this org. Needs org:admin.

curator: queue every subject missing a wiki page or still counting toward the curate threshold. dream: run tonight's pass (skipped if tonight's report already exists). The worker records a manual run; check it with glian_status.

Inputs: glian (required). Returns: object

glian_set_pausedAInspect

Pause or resume one glian for this org. Needs org:admin.

Takes effect within about 30 seconds. While paused, queued distiller and curator jobs are recorded as skipped and parked, then replayed after a resume. A paused nightly dream pass is skipped.

Inputs: glian (required), paused (required). Returns: object

glian_statusAInspect

Background workers (glians) for this org: last run and paused flag.

Each glian row has last_run (status ok/failed/skipped/running, timing, items in/out, error) and paused. Pass glian= for its recent run history.

Inputs: glian, limit. Returns: object

healthAInspect

Liveness + dependency probe.

Returns {"status", "version", "components": {server, redis, postgres, semantic, distiller, graph, ollama}}. semantic is the pgvector + embedder store. Optional deps report "disabled" when off and do not degrade overall status. Always cheap; safe to poll on a 10s interval. Used by Docker healthcheck and the /health HTTP route.

Inputs: no named parameters. Returns: object

mcp_authAInspect

Last-resort email + OTP bind for this MCP session (headless only).

Prefer account-level Cursor Connect (Cloud / Grok Bot inherit it) or a tsk_ header. Do not call this as the first hop. When the host has no token:

  1. mcp_auth(email="you@example.com") — we email a 6-digit code.

  2. Ask the human for the code, then mcp_auth(email="you@example.com", code="123456").

  3. If status=need_org, call again with org_id=.

After status=authenticated, later tools on this streamable-HTTP session run as that person. Do not store the code or any token.

Inputs: code, email, org_id. Returns: object

memory_action_applyBInspect

Execute a governed ontology action and write an audit log entry.

Inputs: parameters (required), agent, action, action_name. Returns: object

memory_action_log_listCInspect

List recent governed action executions for the org.

Inputs: limit. Returns: object

memory_agent_ensureAInspect

Get-or-create this org's ontology Agent + shared memory profile.

Harness agents slug to agent-<label>. Cloud agents slug to agent-<cursor_agent_id>. Other agents read the profile with memory_agent_get or memory_entity_view.

Inputs: name, agent, model, harness, +3 more. Returns: object

memory_agent_getBInspect

Read another agent's (or your own) org-shared ontology memory.

Inputs: name, slug, cursor_agent_id. Returns: object

memory_agent_listAInspect

List Agent ontology memories in this org (other agents can reference them).

Inputs: limit, offset, runtime. Returns: object

memory_agent_setAInspect

Replace an agent's org-shared memory profile (creates the entity if needed).

The caller's own seat may rewrite its profile. An org admin may rewrite any agent's. An agent seat cannot rewrite another agent's profile, and neither can a member who is not an org admin. agent= attributes the write; a missing card plus another agent's label is refused before anything is written.

Inputs: body_md (required), name, slug, agent, +1 more. Returns: object

memory_assemble_contextAInspect

Assemble one token-budgeted, cited context pack for a task.

Fans recall across semantic, episodic, procedural, skill, strategic, work, working pillars and the optional graph in parallel through the secure retrieval path, then ranks and packs the result into a single sectioned markdown bundle. Use this once at the start of a task instead of issuing serial memory_recall / memory_procedure_get / memory_graph_related calls. Returns rendered (the pack), tokens_used, counts_by_pillar, and the kept records.

Inputs: task (required), repo, github, open_files, +2 more. Returns: object

memory_capture_inventoryBInspect

List recent working sessions and durable memories by agent.

Soft-joins agent_runs when a cursor_agent_id appears in the session. Gap report: protocol (ensure/commit) misses, undistilled sessions, blank/wrong author_label. See docs/capture-attribution.md.

Inputs: agent, limit, probes. Returns: object

memory_changes_sinceAInspect

Resume-handoff delta of durable org memory since an opaque cursor.

Returns current-truth rows newer than cursor (oldest-first) plus a new opaque cursor. Use this to continue another session's work; use memory_recall for keyword search. Not a full checkpoint/context pack.

Inputs: k, kind, repo, cursor, +3 more. Returns: object

memory_context_packAInspect

Bounded resume pack for an agent starting or resuming work.

One call returns {cursor, profile_excerpt, work_open, changes, has_more_changes, recall, truncated, token_est, budget_tokens} packed to budget_tokens in that fixed section order, led by a verbatim constraints list (same as the constraints prompt) when the org has standing rules. Built from the same paths as memory_profile_get, memory_changes_since and memory_recall (shared brain: no agent filter). Persist cursor and pass it next time to receive only newer changes. Use memory_recall for further search and memory_assemble_context for a task-driven pack.

Inputs: repo, query, cursor, github, +2 more. Returns: object

memory_distill_scorecardAInspect

Read-only distiller effectiveness: coverage, attribution, crumb rate, cost.

Coverage/attribution reuse the capture-eval gap report. Crumb rate is is_low_value_record on durable rows. Cost is llm_usage source=distiller. See docs/distill-scorecard.md.

Inputs: days. Returns: object

memory_dream_statusAInspect

Latest nightly dream report for this org (what changed overnight).

Returns the most recent leftover-distill + curator report, or found=false when last night wrote nothing. The same note is a normal semantic memory / wiki page memory_recall can find.

Inputs: no named parameters. Returns: object

memory_entity_viewAInspect

Roll up wiki, memories, graph neighbors, and work for one entity.

Inputs: slug (required). Returns: object

memory_episodes_listBInspect

Browse the episodic timeline (shared within the org by default).

Inputs: agent, limit, since, topic, +1 more. Returns: object

memory_feedbackAInspect

Record +1/-1 feedback on a recalled memory id.

Append-only: writes memory.feedback on the memory:{id} stream. Does not change the memory body — corrections stay on memory_remember (supersede) or memory_forget. Skill/playbook rewrites stay on memory_skill_feedback.

Inputs: vote (required), memory_id (required), note, agent. Returns: object

memory_flagAInspect

Flag knowledge that is missing or wrong, for a person to review.

Creates one pending knowledge_flag review in the same queue as other review kinds (review_list). It never writes, edits or retires memory, skills or playbooks, and accepting it changes nothing either: a person decides whether to fix the source. Each target you name must be inside your reach; a memory id you cannot read answers like a missing one (flagged: false, reason: not_found).

Inputs: summary (required), path, skill, work_id, +2 more. Returns: object

memory_forgetAInspect

Soft-delete a semantic/episodic memory by id (requires memory:delete).

memory_id is the memory_items UUID returned by memory_recall. Procedural deletes are not supported via this tool. Only a row you can recall: anything else (another member's private memory included) answers deleted: false, reason: not_found, like a missing id.

Agent seats (org tsk_ / agent_run) are refused — call request_gated_approval(gate="destructive") instead. Console humans (ts_session) still forget.

Inputs: reason (required), memory_id (required), parent_id. Returns: object

memory_forget_procedureBInspect

Soft-delete all active versions of a playbook by name.

Inputs: name (required), reason (required). Returns: object

memory_forget_skillBInspect

Soft-delete all active versions of a skill by name.

Inputs: name (required), reason (required). Returns: object

memory_for_pathsAInspect

What the org already knows about these files, newest first.

Returns current-truth memories tagged path:<p> (via memory_remember(paths=) or session distill) for any of paths or a path under one of them (src/billing matches src/billing/webhooks.ts, not src/billing2/...), each with the memory_recall provenance block and metadata.matched_paths. Shared brain: no agent filter. An exact path lookup, not search: use memory_recall for keywords.

Inputs: paths (required), k, repo, github. Returns: object

memory_getAInspect

Full memory records by id: the second step after a summary recall.

Same org binding, memory:read permission, share/scope reach and unattended-agent trust labelling as memory_recall. Returns records (full content plus provenance) and missing: every id that is not a record you can read — unknown, another org's, soft-deleted or not visible to you — in one list that does not say which. A superseded record is returned with retired_at and replacement_id so you can see it is stale. Read-only. Ids of skills, playbooks and work come from their own tools, not this one.

Inputs: ids (required). Returns: object

memory_graph_relateAInspect

Record an explicit relationship in the optional org-scoped graph store.

No-op (with a reason) when the graph isn't enabled. Use this when you learn a structured fact like "alice -> works_on -> teamshared" that vector recall would obscure. predicate must be a registered link type (see memory_ontology_list).

Inputs: subject (required), predicate (required), agent, object, +2 more. Returns: object

memory_ontology_kind_meta_setAInspect

Set an object kind's status and primary/title keys. Needs org:admin; audited.

A partial update: description and properties_schema are untouched (unlike memory_ontology_object_kind_set, which replaces them).

Inputs: name (required), agent, status, pk_property, +1 more. Returns: object

memory_ontology_kind_statsAInspect

Object-type stats: counts and trends per kind, or one kind's property fill rates.

Property stats are computed over the newest 5000 entities of the kind; sample_capped is true when the kind has more.

Inputs: kind. Returns: object

memory_ontology_listBInspect

List org ontology schema: link types, object kinds, interfaces, action types.

Inputs: no named parameters. Returns: object

memory_ontology_merge_entitiesAInspect

Merge drop_slug into keep_slug.

Remaps FKs, merges properties field by field, and leaves drop_slug as a redirect (alias) to keep_slug so old references still resolve. Needs org:admin. When the org's entity_proposals policy is review it opens a merge review instead (proposing needs memory:create) and returns status=pending_review with a review_id.

Inputs: drop_slug (required), keep_slug (required), agent, property_resolution. Returns: object

memory_ontology_object_kind_setCInspect

Register or update a custom org object kind.

Inputs: name (required), agent, description, properties_schema. Returns: object

memory_ontology_propose_entityAInspect

Propose a typed ontology entity (active immediately by default).

If the name's slug already exists, properties are patch-merged and kind/name are kept. A different kind is refused: use memory_ontology_rekind_entity (org admin) to change it. When the org's entity_proposals policy is review, a new entity (or an untyped Thing you classify) is not written: the result is status=pending_review with a review_id for a person to decide.

Inputs: name (required), kind, agent, kind_name, +1 more. Returns: object

memory_ontology_rekind_entityAInspect

Change the object kind of an existing ontology entity.

Needs org:admin. When the org's entity_proposals policy is review it opens a rekind review instead (proposing needs memory:create) and returns status=pending_review with a review_id.

Inputs: slug (required), kind, agent, kind_name. Returns: object

memory_ontology_schema_policy_setAInspect

Set how distiller/curator link-type proposals land. Needs org:admin.

People only, like org_automation_set: an agent seat (even one acting for an admin) is refused with human_required, and under decider=console anything but a console browser session gets console_required. Audited as org.automation.set. Takes effect within about 30 seconds. The current value is schema_proposals in glian_status.

Inputs: mode (required). Returns: object

memory_playbook_getBInspect

Alias for memory_procedure_get.

Returns version. Pass it as expected_version on memory_playbook_set when you edit a shared playbook.

Inputs: name (required), version, expand_skills. Returns: object

memory_playbook_setCInspect

Alias for memory_procedure_set. Forwards expected_version.

Inputs: name (required), tags, agent, owner_id, +5 more. Returns: object

memory_playbooks_listDInspect

Alias for memory_procedures_list.

Inputs: tag, limit, offset, include_body. Returns: object

memory_profile_getAInspect

Return a token-capped bootstrap profile for this caller.

Compact markdown (soul when the key is account-linked, a few high-signal durable facts preferring kind=preference, and a short recent episodic tail). Empty/minimal when the org has nothing to inject. Also returned on memory_session_ensure as profile and prepended on agent_run_start when non-empty. Does not dump full recall or the skills catalog. namespace= excludes facts/episodes outside that container.

Inputs: namespace. Returns: object

memory_recallAInspect

Hybrid recall across memory pillars within the caller's org.

Cheap two-step recall: call with detail="summary" first (id, pillar, title/subject, one-line summary, score, provenance per hit), then memory_get(ids=[...]) for the full text of the few hits you will use. detail="full" (default) returns full records at once.

Default scope searches durable pillars only (semantic, episodic, procedural, skill, strategic, work). Pass scope=["working"] to include this chat's open session turns. Shared brain on durable pillars: pass agent="cursor" only to narrow semantic/episodic. For entity/competitor questions use a short keyword anchor in query (e.g. "mex") plus repo / github. Use explain=true; prefer hits with matched_keyword: true. Default recall is current truth (superseded/merged rows are omitted); pass include_superseded=true for the replacement chain, or as_of=<ISO-8601> for transaction-time point-in-time current truth. When namespace= is set, semantic/episodic hits outside that container are excluded. Hits include a small provenance citation block (id, kind, timestamps, optional retired_at, optional title, optional source, optional uncertainty_with when another active row disagrees across writer_class) — metadata only, never page HTML. Current truth may be more than one active row when writers disagree. Result includes org + bound (alias session_bound). bound is the MCP org-session overlay, not GitHub: false on a normal /mcp session still writes to the token's org. GitHub connection is github_repo_list (and the Connected repos line), not this field.

Inputs: query (required), k, repo, agent, +11 more. Returns: object

memory_rememberAInspect

Write a durable memory into the caller's org.

fact / preference / note / outreach -> semantic pillar. event -> episodic. procedure / skill -> rejected; use memory_procedure_set / memory_skill_set. Routed through the guarded ingestion pipeline (PII, injection screening, near-dupe merge / contradiction supersede) under RLS. A near-duplicate merges regardless of writer class. A contradiction supersedes only when writer_class matches or either side has none; different classes leave both rows active and record uncertainty (each hit's provenance names the other id). When repo / github are given the memory is tagged repo:<slug> / github:<owner>/<repo>. namespace= (or the default from those args) is an org-allowlisted container — recall with the same slug excludes other namespaces. paths= tags the repo files the memory is about (memory_for_paths reads them). Result includes org + bound (alias session_bound). bound is the MCP org-session overlay, not GitHub: false on a normal /mcp session still writes to the token's org.

Inputs: content (required), kind, repo, tags, +5 more. Returns: object

memory_session_appendAInspect

Append a turn to a working-memory session (self-healing).

When session_id has expired or was closed, a fresh session is opened automatically and the turn lands there; the response then carries the replacement session_id and reopened: true. Pass repo (and optionally github / topic) so reopen preserves workspace scope and updates the state pointer without a manual memory_state_set.

Inputs: role (required), content (required), session_id (required), repo, +2 more. Returns: object

memory_session_closeAInspect

Close a working-memory session.

If distill is true (default), the transcript is queued for the background worker to summarize into durable org-scoped memories.

Inputs: session_id (required), distill. Returns: object

memory_session_ensureAInspect

One-call session bootstrap: recover the active session or open one.

Replaces the memory_state_get → memory_session_close → memory_session_open → memory_state_set ritual. Reuses the session in the conversation/active-session state pointer when it is still open and owned by the caller; otherwise closes it (distilling) and opens a fresh one, updating state. Returns {session_id, agent, resumed, soul, soul_linked, profile}. When the bearer is linked to a human account, soul is their private compressed identity block for this org (may be empty string if not yet written). profile is the same token-capped bootstrap object as memory_profile_get. When playbook_slug or a work_id with a bound slug resolves, also returns playbook {name, description, body_md, slug} (its cited skills listed by name and when to load them with memory_skill_get, not their bodies; capped) on both fresh and resume paths. Also org + bound (alias session_bound) + bound_scope. bound is the MCP org-session overlay, not GitHub: false on a normal /mcp session still writes to the token's org. On unbound /mcp, a user account with several orgs may include warnings suggesting org_bind(slug=...) (CLI teamshared org bind is optional). Optional auto_recall=true attaches budgeted recall hits (same provenance citation shape as memory_recall) when user= and/or topic= is set (thin-client bootstrap). Prefer an explicit memory_recall for keyword anchors.

Inputs: repo (required), ttl, user, agent, +7 more. Returns: object

memory_session_getAInspect

Read session metadata and turns (debug, handoff, append failure recovery).

Inputs: session_id (required). Returns: object

memory_session_openCInspect

Open a working-memory session and return a session_id.

Inputs: ttl, repo, agent, topic, +1 more. Returns: object

memory_skill_feedbackAInspect

Propose a skill/playbook rewrite from a human-approved draft vs kept.

Stores the pair as a pending rewrite. The live skill does not change. A human accepts or rejects the proposed diff in the console; accept writes vN+1 through the existing setter. Never auto-overwrites.

Inputs: name (required), draft (required), origin (required), kept, +5 more. Returns: object

memory_skill_getAInspect

Fetch a stored skill by name (and optionally version).

Returns version. Pass it as expected_version on memory_skill_set when you edit a shared skill.

Inputs: name (required), version. Returns: object

memory_skill_resolveAInspect

Resolve a playbook's tool_recipe.skills refs to full skill records.

Inputs: playbook_name (required), playbook_version. Returns: object

memory_skill_setAInspect

Insert a new version of a skill. Each call creates a new version.

Skills are atomic instruction building blocks. Playbooks compose them via tool_recipe.skills on memory_procedure_set. Routed through the guarded ingestion pipeline; only active skills are visible to recall and memory_skill_get. Read version first and pass expected_version when editing a shared skill. After memory_forget_skill, omit expected_version to recreate it: a conflict with current_version null means nothing active remains.

Inputs: name (required), body_md (required), tags, agent, +5 more. Returns: object

memory_skills_listAInspect

List all skills (latest version of each) in the caller's org.

Inputs: tag, limit, offset, include_body. Returns: object

memory_soul_getAInspect

Return this person's private soul for the current org.

The soul is a tiny compressed identity block (who they are, style, likes/dislikes, dos/don'ts). Empty when none yet or the API key is not linked to a human account (mint keys from the console while signed in). Also returned on memory_session_ensure as soul.

Inputs: no named parameters. Returns: object

memory_soul_setAInspect

Replace this person's private soul for the current org.

Prefer compact structured markdown. Preferences written via memory_remember(kind=preference) also absorb into the soul.

Inputs: body_md (required), agent. Returns: object

memory_state_getAInspect

Fetch JSON state scoped to the caller's org, bearer token, and repo.

Inputs: key (required), repo (required). Returns: object

memory_state_setBInspect

Persist JSON state scoped to the caller's org, bearer token, and repo.

Inputs: key (required), repo (required), value (required). Returns: object

memory_statusAInspect

Seat-scoped memory diagnostic (bind, session, capture, queues).

Read-only. Returns org + bound (alias session_bound), active session id / resumed / age, profile present / age (no soul body), last capture / last close timestamps if known, a recent recall latency sample or null, and a redacted reason: ok | unbound_multi_org | auth | capture | retrieval | queue_degraded | unknown. bound is the MCP org-session overlay, not GitHub: false on a normal /mcp session still writes to the token's org. Queue degraded uses the same cheap probe as health. Never returns tokens or keys. Complements service-level health; does not mutate memory.

Inputs: repo. Returns: object

memory_strategic_entity_getCInspect

Fetch one strategic entity by type and id.

Inputs: entity_id (required), entity_type (required). Returns: object

memory_strategic_initiative_setCInspect

Propose a strategic initiative.

Inputs: title (required), plan_id (required), agent, objective_id, +2 more. Returns: object

memory_strategic_initiative_updateBInspect

Re-align an initiative to an objective / key result, or rename it. Audited.

Inputs: initiative_id (required), agent, title, objective_id, +1 more. Returns: object

memory_strategic_key_result_setCInspect

Propose a key result under an objective.

Inputs: title (required), objective_id (required), agent, metric_unit, +4 more. Returns: object

memory_strategic_key_result_updateBInspect

Update a key result's value, target, track status or title. Audited.

Inputs: key_result_id (required), agent, title, metric_unit, +4 more. Returns: object

memory_strategic_objective_setBInspect

Propose an objective under a plan.

Inputs: title (required), plan_id (required), agent, owner_id, +3 more. Returns: object

memory_strategic_objective_status_listBInspect

List an objective's status updates, newest first.

Inputs: objective_id (required), limit. Returns: object

memory_strategic_objective_status_postBInspect

Post a status update on an objective; the newest sets its health.

Inputs: state (required), objective_id (required), agent, body_md. Returns: object

memory_strategic_objective_updateAInspect

Edit, close or reopen an objective (owner, target date, title). Audited.

Inputs: objective_id (required), agent, title, status, +3 more. Returns: object

memory_strategic_plan_closeBInspect

Close an OKR cycle. Idempotent; audited.

Inputs: plan_id (required), agent. Returns: object

memory_strategic_plan_getBInspect

Fetch one strategic plan, optionally with the full OKR tree.

Inputs: plan_id (required), include_tree. Returns: object

memory_strategic_plan_listBInspect

List OKR cycles (strategic plans) for the org.

Inputs: limit, active_only. Returns: object

memory_strategic_plan_setCInspect

Propose a new OKR cycle.

Inputs: name (required), period_end (required), period_start (required), agent. Returns: object

memory_strategic_statement_getBInspect

Fetch the active org statement for vision, mission, or purpose.

Inputs: kind (required). Returns: object

memory_strategic_statement_setCInspect

Propose a new version of vision, mission, or purpose.

Inputs: kind (required), content_md (required), agent. Returns: object

memory_thinkAInspect

Synthesized answer with citations and gap analysis (GBrain think parity).

Runs durable recall (default scope excludes working), then composes a cited prose answer plus explicit gaps. For named-entity or competitor questions, call memory_recall with a short keyword anchor first — synthesis quality depends on retrieval. Prefer memory_think when you need prose + gaps after recall surfaced hits, or for open strategic questions. Default sources are current truth; pass include_superseded=true to include retired facts, or as_of= for transaction-time point-in-time grounding.

Inputs: query (required), k, repo, as_of, +3 more. Returns: object

memory_tools_catalogAInspect

Discover teamshared MCP tools for the current turn.

Returns protocol (every-turn loop), chooser (need → tool), never (hard constraints), and grouped tools with when / avoid / copy-paste example. Pass need= when choosing a tool mid-conversation. Also returns tool_recipe_shapes, aliases (procedure_* → playbook_*), and mcp_list (the live tools/list tier gate and how to advertise extended / alias tools).

Inputs: need, tier, scope. Returns: object

memory_unshareAInspect

Revoke a memory share (#1088).

Drops one share target, or every share when all=true. Only the row's author, or an org admin who can read it, may revoke (the rule for sharing). Revoking only narrows who reads the row, so it is never held for a person, even under share_scope: review. When no share is left the row returns to visibility=private with its scope unchanged. Under share_scope: org_wide the targets are only recorded and any shared row is read by every member, so access ends when the last one goes. Revoking a target that is not shared is a no-op. A row you may not revoke answers unshared: false, reason: not_found, like a missing id.

Inputs: memory_id (required), all, target_id, target_scope. Returns: object

memory_write_policy_setAInspect

Set which durable memory writes wait for a person's review. Needs org:admin.

People only, like org_automation_set: an agent seat (even one acting for an admin) is refused with human_required, and under decider=console anything but a console browser session gets console_required. Audited as org.automation.set. Takes effect within about 30 seconds. The current value is memory_writes in glian_status.

Inputs: mode (required). Returns: object

message_inboxBInspect

List your conversations, newest activity first, with unread counts.

Inputs: limit. Returns: object

message_sendAInspect

Send a message to a teammate or another agent.

A person finds it in their inbox and bell. An agent is woken to read and answer it (unless its record turns that off). Reply with thread_id.

Inputs: body (required), to_id, to_kind, work_id, +1 more. Returns: object

message_threadAInspect

Read one conversation you are part of, oldest message first.

Inputs: thread_id (required). Returns: object

org_automation_getAInspect

Read the org's automation level: what waits for a person and who decides.

Returns the level (full_automation / balanced / gated), what it sets every area to, the overrides on top, and each area's effective value: memory_writes, schema_proposals, entity_proposals, contradictions, routine_changes (auto | review; whether the manager's agent_routine_set waits for a person's Approve), secret_first_use (auto | review; whether an agent's first spend of a vault secret pauses its run for a person), wiki_sources (org | review | all; which memory scopes the curator and the dream report read: org memory only by default, review holds a page built partly from private memory for a person, all is every scope), share_scope (targeted | review | org_wide; who reads a memory once it is shared with a team, project, user or agent: its audience and author, or every member; an org_wide org also gets share_scope_impact.would_narrow, the shared memories a switch to targeted would hide), init_constraints (include | omit; whether agents get the org's standing rules in the instructions they receive when they connect, quoted and cut at about 2 KB; the console calls these "Include org rules" and "Leave org rules out"), decider (console | person | permission), proposer_permission (memory:create | org:admin) and the tool-call gates destructive_actions / publish_actions / spend_actions (review | auto). deciders gives the rule each review kind is decided under (balanced keeps skill_rewrite, schema_link_type and command at permission; gated_command is a queued command that would run a destructive, publish, spend or routine call). Needs memory:read.

Inputs: no named parameters. Returns: object

org_automation_setAInspect

Set the org's automation level and per-area overrides. Needs org:admin.

People only: an agent seat (even one acting for an admin) gets human_required; under decider=console anything but a console browser session gets console_required. Automation removes a review step, never a permission check. Audited as org.automation.set. Takes effect at once here and within about 30 seconds in the workers.

Inputs: level, overrides, reset_overrides. Returns: object

org_bindAInspect

Bind this MCP conversation or workspace to an authorized org slug.

Subsequent memory/work/file/context calls on this streamable-HTTP session resolve under that org. Other MCP sessions are unchanged. Membership is fail-closed. Does not change the OAuth token default. Path-bound /o/{slug}/mcp mounts cannot be overridden.

Inputs: slug (required), scope, workspace. Returns: object

org_context_getAInspect

Current org plus bind precedence for this MCP session.

Layers: path (/o/{slug}/mcp) > conversation (Mcp-Session-Id) > workspace (account + repo slug) > OAuth / tsk_ token default. Same snapshot as org_list.

Inputs: workspace. Returns: object

org_listAInspect

List memberships, current org, and bind layers for this MCP session.

Does not switch orgs. Use org_bind to bind this conversation or a workspace. tsk_ keys see only their seat org.

Inputs: workspace. Returns: object

org_unbindAInspect

Clear a conversation or workspace org bind for this MCP session.

Later calls fall back to the next precedence layer. Does not change path-bound /o/{slug}/mcp mounts or the OAuth token default.

Inputs: scope, workspace. Returns: object

process_run_advanceAInspect

Advance a Process run after the current step is finished.

Illegal when the run is completed/cancelled, finished_step is not the current step, or the process is unknown. A template step that requires evidence refuses with evidence_missing until it is attached (evidence_attach).

Inputs: run_id (required), finished_step (required), agent, evidence_override. Returns: object

process_run_completeAInspect

Close a Process run with outcome criteria and result.

Does not require finishing the last step, but a template run still needs the evidence of its current and remaining steps (evidence_missing). Emits process.completed on run:{id}. A run that already has an outcome is refused.

Inputs: run_id (required), outcome_result (required), outcome_criteria (required), agent, +1 more. Returns: object

process_run_createAInspect

Create a Process run from a catalog process or a launchable playbook.

Board Pickup (process or playbook_slug=board-pickup) starts at Scan. Any playbook with tool_recipe.process_steps or a skill sequence can start a run without a hardcoded catalog entry. The run freezes playbook/skill versions + steps, current step, status, and stream_id=run:{id}. Human/gate steps open a Work item and link it. Not a Camunda / Zeebe / LangGraph workflow.

Inputs: agent, due_at, process, work_id, +4 more. Returns: object

process_run_eventsAInspect

List the event stream for a Process run (#343 primary event stream).

Returns append-only stream_events for run:{id} in timeline order. The run is the event stream; this is the raw log.

Inputs: run_id (required), limit, offset. Returns: object

process_run_failAInspect

End an active Process run as failed (terminal). Use cancel for a run that is dropped.

Inputs: reason (required), run_id (required), agent. Returns: object

process_run_fan_outAInspect

Start child instances for a fan_out step and let their join finish it.

Appends step.fanned_out; each child close appends child.result and re-evaluates the join (all fails on the first failure, any completes on the first success, quorum needs k of n). step.joined lands once per (step, attempt); results after it are child.late_result. A completed join advances the step; a failed one goes through the retry and escalation path. budget_exceeded refuses before any child starts. An agent seat is refused while the org reviews spend.

Inputs: step (required), items (required), run_id (required), join, +3 more. Returns: object

process_run_getAInspect

Fetch one Process run (snapshot, current step, standing, work, stream_id).

standing is a projection over run:{id} events (true / changed / next / owner / blocked / since / due / timeout). It is not a writable column — draft with process_run_standing_draft and commit with process_run_standing_commit. Pass source=events to fold the run object from the log alone (no process_runs read).

Inputs: run_id (required), source, context, context_max_chars. Returns: object

process_run_listAInspect

List Process runs in this org. Each row includes stream_id and work_id.

Pass source=events to fold every run from the append-only event log — the primary event stream — without touching process_runs. The template, stage, subject and activity filters read process_runs and are ignored with source=events.

Inputs: limit, stage, offset, source, +8 more. Returns: object

process_run_reopenAInspect

Return a failed, cancelled or completed Process run to active (org admin only).

Inputs: reason (required), run_id (required), agent. Returns: object

process_run_standing_commitAInspect

Commit standing on a run stream (append-only event).

Appends standing.committed. Omit every field to promote the latest draft. Partial fields overlay the projection; they do not PATCH a row.

Inputs: run_id (required), due, next, agent, +6 more. Returns: object

process_run_standing_draftAInspect

Draft standing fields on a run stream (does not become live).

Appends standing.drafted on run:{id}. Read live standing from process_run_get — standing is not a separately mutated field.

Inputs: run_id (required), due, next, agent, +6 more. Returns: object

process_run_step_failAInspect

Report a failed attempt of the current step of a Process instance.

Under the step's max_attempts a retry is scheduled on a deadline timer (outcome: retry_scheduled); at the limit the step is escalated (outcome: escalated) and a Work item is opened for a person to retry, take over or close the run. A step with no policy escalates at once.

Inputs: step (required), reason (required), run_id (required), agent, +1 more. Returns: object

process_templateAInspect

The org's process template registry (#1180).

list shows every template an instance can start from: the org's own active versions over the six seeds (Claim, Matter, Deal, Hire, Vendor onboarding, Month-end close). get reads one with its version; pass it as expected_version on set, which appends a new version (org admin) and may override a seed. archive retires the org's head (status=retired); a new run of an overridden seed uses the seed again. restore appends an active copy of that retired head. An org holds at most 100 templates. Running instances keep the snapshot they were opened from.

Inputs: action (required), slug, agent, version, +3 more. Returns: object

process_wakeAInspect

Deadline timers on a Process instance. set adds one (max 20 pending per run), cancel drops one, list shows a run's timers. A due timer appends timer.fired to the run's timeline; closing the run cancels its pending timers.

Inputs: action (required), note, agent, state, +4 more. Returns: object

project_archiveCInspect

Archive or restore a project.

Inputs: project_id (required), agent, archived. Returns: object

project_createBInspect

Create a project (Asana-style task container).

Inputs: name (required), agent, color, status, +8 more. Returns: object

project_getAInspect

Fetch a project with its sections, latest status, attached files, and optionally its tasks.

Inputs: project_id (required), include_items. Returns: object

project_listCInspect

List projects with health, progress (done/total), lead and member count.

Inputs: limit, status, team_id, initiative_id, +1 more. Returns: object

project_member_addCInspect

Add a person or agent to a project's members.

Inputs: project_id (required), role, email, agent_id. Returns: object

project_member_listBInspect

List a project's members (people and agents).

Inputs: project_id (required). Returns: object

project_member_removeCInspect

Remove a person or agent from a project's members.

Inputs: project_id (required), email, agent_id. Returns: object

project_section_addCInspect

Add an ordered section to a project.

Inputs: name (required), project_id (required), agent. Returns: object

project_section_listBInspect

List a project's sections in order.

Inputs: project_id (required). Returns: object

project_status_listBInspect

List a project's status updates (health history), newest first.

Inputs: project_id (required), limit, cursor. Returns: object

project_status_postAInspect

Post a project status update (on-track / at-risk / off-track banner).

Inputs: project_id (required), agent, status, body_md, +1 more. Returns: object

project_updateCInspect

Update project metadata, lifecycle, priority, dates and lead.

Inputs: project_id (required), name, agent, color, +8 more. Returns: object

request_gated_approvalAInspect

Create an item_type=approval child and block the parent.

Does not send, publish, spend, delete, or grant. Human or manager marks the child done, then performs the gated action. Agent seats must call this with gate=publish instead of file_publish / storage_publish, or gate=destructive instead of memory_forget.

Inputs: gate (required), title (required), parent_id (required), description_md (required), +1 more. Returns: object

review_decideAInspect

Accept, reject or skip one pending review. Needs memory:approve.

Decides once: a review that is no longer pending returns ok=false, reason=conflict with its current status. On a hitl_tool review, accept/reject is agent_run_hitl_decide approve/reject on the paused run (human seats only). Accepting a gated_action runs the held chat tool call as you (a person, not an agent key); the person whose chat proposed it may decide it too. Accepting object_create / rekind / merge applies the ontology change (rekind and merge also need org:admin); accepting a contradiction retires the older fact. Reject writes nothing. Who may decide any review is the org's decider rule (org_automation_get deciders): a person by default (an agent key or a delegated seat gets reason=human_required), only a console browser session under decider=console (reason=console_required), or any holder of the permission under decider=permission (a paused tool call, and a queued command that would run one, still needs a person). Under the balanced level skill_rewrite, schema_link_type (also org:admin) and command reviews keep their permission-only rule.

Inputs: decision (required), review_id (required), note. Returns: object

review_listAInspect

List the org's review queue: human decisions waiting on someone.

Newest first. Each row has kind, target_ref, payload, diff, confidence and status. Page with next_cursor.

Inputs: kind, limit, cursor, status, +1 more. Returns: object

review_policy_setAInspect

Set one of the org's review policies. Needs org:admin.

People only, like org_automation_set: an agent seat (even one acting for an admin) is refused with human_required, and under decider=console anything but a console browser session gets console_required. Audited as org.automation.set. Takes effect within about 30 seconds; glian_status reports every policy under review_policies. Held memory writes have their own tool, memory_write_policy_set.

Inputs: mode (required), policy (required). Returns: object

secret_describeAInspect

Describe one vault entry as metadata, with its status (ok, revoked, expired, needs_rekeying, unconfigured). Never a value: spend a secret through a brokered tool. secret_get does not exist.

Inputs: name (required), kind, owner_id. Returns: object

secret_listAInspect

List one vault's entries as metadata: name, keyed fingerprint, key id, version, status, timestamps. Never a value. Your own vault needs secret:use; another's or the org vault needs secret:manage and refuses agent seats. There is no secret_get.

Inputs: kind, owner_id. Returns: object

storage_archiveAInspect

Soft-archive a Storage file or an empty Storage folder.

Same as console Archive on /app/storage: the row's status flips to archived, lists and attachments hide it, bucket bytes and join rows stay. Folders must be empty — a folder with active children is refused with folder_not_empty (move or archive its children first; archive never cascades). Returns {file_id, archived: true}, or archived: false with reason="not_found" for an unknown or already-archived id. Needs memory:delete, as console archive does. Not a purge: there is no hard delete of Storage objects. Shared-file documents use file_archive.

Inputs: file_id (required). Returns: object

storage_attachAInspect

Attach an existing Storage object to a work item and/or project.

Idempotent on (org, work|project, storage_object). Does not copy bytes. Canonical artifact attach for blobs and documents. Transcripts stay on file_* / work_item_files.kind=transcript. Pass at least one of work_id / project_id.

Inputs: file_id (required), agent, work_id, project_id. Returns: object

storage_folder_createAInspect

Create a Storage folder (metadata only; no bucket bytes).

Folders are storage_objects rows with kind=folder. Root is parent_id IS NULL. Archive refuses a folder that still has active children — empty it first.

Inputs: title (required), agent, parent_id. Returns: object

storage_getAInspect

Fetch Storage metadata and a download pointer (not the blob body).

Returns download_url for an authenticated GET of the bytes. When published and the bucket publisher is configured, also includes a fresh signed_url (presigned bucket GET; primary for agents) plus signed_url_expires_in / signed_url_expires_at. Durable share_url / public_url still point at /d/{share_token} (Storage's public raw-bytes route; distinct from shared-file /s/{slug}). Includes work_ids / project_ids for current attachments.

Inputs: file_id (required). Returns: object

storage_listAInspect

List active Storage objects in the caller's org, newest first.

Each row is metadata plus download_url (bearer GET /v1/storage/{id}/content). Published objects also include a fresh signed_url (presigned bucket GET, primary for agents) plus signed_url_expires_in / signed_url_expires_at, and durable share_url / public_url (/d/{share_token}, console/human fallback). /d/{token} is Storage's public raw-bytes route. Pass work_id or project_id to list attachments (project_id wins if both are set; folder filters are ignored on those joins). Pass parent_id / folder_id to list one folder (root = org root). Omit both to list every active object. Folders sort first. Archived objects stay joined but are omitted. work_id / project_id list every Storage join (blobs and document-capable objects). Transcripts stay on file_list(work_id=).

Inputs: limit, query, work_id, folder_id, +2 more. Returns: object

storage_moveAInspect

Move a Storage file or folder into another folder (or to root).

Refuses cycles (a folder cannot become its own descendant) and non-folder destinations.

Inputs: file_id (required), agent, parent_id. Returns: object

storage_publishAInspect

Publish a Storage object and return a presigned bucket GET URL.

Idempotent: returns the existing token if already published. Does not re-upload bytes (they already live in the bucket). Agents should use signed_url (TTL TEAMSHARED_STORAGE_SIGNED_URL_TTL_SECONDS, default 3600s) plus signed_url_expires_in / signed_url_expires_at. share_url / public_url remain the durable /d/{share_token} fallback for console/humans — not /s/{slug} (shared-file HTML). Fails closed if the object-storage bucket is unconfigured (cannot mint a signed URL).

Agent seats (org tsk_ / agent_run) are refused — call request_gated_approval(gate="publish") instead. Console humans (ts_session) still publish. After the approval child is done, a human seat calls this tool (same completion path as file_publish).

Inputs: file_id (required). Returns: object

storage_unpublishAInspect

Revoke public access to a Storage object (visibility back to private).

The share token is retained for audit; GET /d/{share_token} returns 404. Bucket bytes stay (they are the private store, not a CDN mirror).

Inputs: file_id (required). Returns: object

storage_upload_requestAInspect

Mint a one-time uploader script for a private Storage blob (any file type).

Storage is the org's binary store: bytes go to the Railway bucket, metadata to storage_objects. Objects stay private until a human seat calls storage_publish (agent seats must request_gated_approval(gate=publish)). Document MIME types (Markdown, HTML, plain text, diagram JSON/YAML) are stored as blobs; versioned edit / /s/ publish still use file_upload_request. Pass work_id and/or project_id to attach after ingest (kind=artifact; transcripts stay on shared files). Pass parent_id to place the file in a folder. Batch uploads are multiple grants (one file each) — console multi-select uses sequential ingest, not a multi-file grant. Returns upload_url, upload_token, max_bytes, and a self-deleting Python script. Token is single-use and expires in ~10 min.

Inputs: title (required), agent, work_id, filename, +4 more. Returns: object

task_reportAInspect

Median and p90 LLM cost, elapsed time and active time per completed task for this organization, over a date range.

Cancelled tasks are a separate waste figure and are left out of the medians. An accepted skill or playbook change in the window includes a before/after comparison, or not enough data when either side has fewer than 3 completed tasks. The result includes the method. It is this org's numbers only.

Inputs: since, until, project_id, window_days. Returns: object

trigger_ruleBInspect

Signed webhook rules that wake a Process instance (org admin). create returns the webhook path and a signing secret shown once. Sign {timestamp}.{delivery_id}.{body} with HMAC-SHA256 and send X-TeamShared-Timestamp, X-TeamShared-Delivery and X-TeamShared-Signature: v1=<hex>; a verified delivery appends trigger.fired to the run's timeline once per delivery id.

Inputs: action (required), name, match, run_id, +8 more. Returns: object

versionAInspect

Report server + memory-rule version and whether the rule needs updating.

Returns {server_version, rule_version, installed_rule_version, rule_path, rule_update, update_available}. rule_path is the canonical rule in the teamshared Cursor plugin; Cursor loads it from there. When update_available is true (the installed rule is missing or behind), tell the user to update the teamshared plugin. Never write a local .cursor/rules/teamshared.mdc copy. rule_markdown is also returned for clients without the plugin, which may put it in their instructions slot (e.g. AGENTS.md). See the rule's "Staying current".

Inputs: installed_rule_version. Returns: object

work_add_to_projectBInspect

Add a task to a project (tasks can belong to multiple projects).

Result includes org + bound.

Inputs: work_id (required), project_id (required), agent, section_id. Returns: object

work_budget_setAInspect

Set or clear a spend limit on one work item (a person only).

A new paid run tied to the item is refused once its cost reaches the limit, even when the agent's own cap has room; the tighter of the two holds. An agent seat, including one acting for a person, is refused: an agent cannot set or raise its own limit.

Inputs: work_id (required), clear, budget_usd. Returns: object

work_closeAInspect

Mark a work item done or cancelled. Result includes org + bound.

If the item's playbook sets artifact_required, closing done is refused (handoff_required) until the item has an attached artifact or a comment with a pointer (file:<id>, storage:<id>, a PR URL).

Inputs: work_id (required), agent, work_status. Returns: object

work_comment_addCInspect

Add a comment to a work item. Result includes org + bound.

Inputs: body (required), work_id (required), agent. Returns: object

work_comment_listAInspect

List comments on a work item (oldest first).

Inputs: work_id (required), limit. Returns: object

work_createAInspect

Create a work item. Created active immediately for humans and agents (no approval queue).

Creating-agent path: omitted priority → skill task-priority-assessment; omitted due_at → skill task-time-required. The distiller does not fill these. Console blanks default to priority=normal only. Result includes org + bound.

Inputs: title (required), repo, tags, agent, +18 more. Returns: object

work_dependencies_listAInspect

List what a task is blocked by and what it blocks.

Inputs: work_id (required). Returns: object

work_dependency_addAInspect

Add a dependency: blocker must finish before blocked can proceed.

Pass blocker_id + blocked_id, or equivalently work_id (blocked) + depends_on_id (blocker). Cycles are refused — a task cannot become its own (transitive) blocker (error=cycle / error=self_edge). Result includes org + bound.

Inputs: agent, work_id, blocked_id, blocker_id, +1 more. Returns: object

work_dependency_removeCInspect

Remove a task dependency. Result includes org + bound.

Inputs: work_id, blocked_id, blocker_id, depends_on_id. Returns: object

work_follower_addBInspect

Add a follower/collaborator to a task by member email.

Result includes org + bound.

Inputs: work_id (required), agent, follower_email. Returns: object

work_follower_removeCInspect

Remove a follower from a task by member email.

Result includes org + bound.

Inputs: work_id (required), follower_email. Returns: object

work_followers_listCInspect

List followers/collaborators on a task.

Inputs: work_id (required). Returns: object

work_getAInspect

Fetch one work item by id, including its cost rollup.

cost sums linked agent runs and process runs: input and output tokens, USD (an estimate is flagged, never stored as a silent $0), agent wall-clock time, and human review time kept separate.

Inputs: work_id (required). Returns: object

work_listCInspect

List org work items (shared task queue for humans and agents).

Inputs: tag, mine, sort, limit, +15 more. Returns: object

work_moveBInspect

Move a task to a section and/or reorder it within a project.

Result includes org + bound.

Inputs: work_id (required), project_id (required), agent, section_id, +1 more. Returns: object

work_remove_from_projectBInspect

Remove a task from a project. Result includes org + bound.

removed is false when the task was not in that project.

Inputs: work_id (required), project_id (required). Returns: object

work_subtasks_listBInspect

List subtasks of a work item. Create subtasks via work_create with parent_id.

Inputs: work_id (required). Returns: object

work_updateCInspect

Update a work item (status, assignee, priority, parent, due_at, etc.).

Result includes org + bound.

Inputs: work_id (required), repo, tags, agent, +14 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Gives multiple AI coding agents a shared, persistent memory by indexing your code and documentation into a vector database with AST-aware chunking and hybrid semantic/keyword search. Agents can search across projects and store, update, or forget decisions, conventions and lessons learned, all self-hosted with local embeddings.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Persistent shared memory for AI coding agents that turns a folder of markdown files into searchable memory across sessions, repos, and machines.
      18 npm
      Functional Source , Version 1.1, MIT Future
    • A
      license
      A
      quality
      D
      maintenance
      Persistent shared memory for AI coding agents. Stores facts as entity/key/value triples with hybrid semantic search, task checkpoints, and conflict resolution — shared across Claude Code, Codex CLI, and GitHub Copilot.
      16
      235 npm
      5
      AGPL 3.0
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.