Skip to main content
Glama

PCD (Portable Context Deck)

Team Work

team_work

Read or advance shared work, publish versioned contributions, and request or respond to exact-version reviews in one permission-checked team destination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workNoWork item on create_work, or a field patch on update_work/transition_work. Provenance is server-stamped.
limitNoResult cap: read_reviews and list_documents default to 20 with maximum 50; search_documents defaults to 10 with maximum 20.
queryNo
titleNo
actionYesOperation. Call describe before composing an unfamiliar contribution, work write, or document action; describe.document_actions is the action-specific contract.
offsetNo
reasonNo
commentNo
contentNo
summaryNo
work_idNoStable shared-work UUID for update_work or transition_work.
categoryNo
contractNoHelp mode — return the complete contract with no operation performed.
revisionNoImmutable document revision to check with check_document; defaults to the current revision. It is not an optimistic write token.
standingNo
record_idNoVersioned Team record. Required by record- and document-specific reads and writes; inspect describe.document_actions for each document action.
work_refsNo
feedback_idNo
to_revisionNo
contributionNoStructured immutable contribution body. Reviews are accepted only by respond_review and require basis.reviewed_version.
raw_markdownNo
review_scopeNoread_reviews routing filter; defaults to requests open to the team or assigned to the caller.
target_groupNoRequired for create_work and transition_work.
from_revisionNo
review_statusNoread_reviews lifecycle filter; defaults to open.
request_contentNoReview question or requested checks for request_review.
source_revisionNo
expected_revisionNoCurrent immutable record revision required for revise_contribution, mark_ready, revise_document, and submit_document.
review_request_idNoReview-request signal UUID for response or resolution.
reviewed_revisionNoExact ready proposal revision pinned by request_review.
team_container_idNoExact team destination; required for every action except describe.
assigned_member_idNoOptional active owner/editor UUID; omit or null to open the request to the team.
reviewed_record_idNoContribution record whose exact ready revision is being requested for review.
expected_work_revisionNoRequired optimistic version for every shared-work write.
expected_request_revisionNoOptimistic request version required by resolve_review.
expected_transition_revisionNoCurrent lifecycle transition revision required by contribution and document writes; open_document_round accepts this version but not expected_revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Operation. Call describe before composing an unfamiliar contribution or work write."New value: +"Operation. Call describe before composing an unfamiliar contribution, work write, or document action; describe.document_actions is the action-specific contract."
    • changedInput schema / properties / expected_revision / description
      Previous value: -"Current proposal revision required for revise_contribution and mark_ready."New value: +"Current immutable record revision required for revise_contribution, mark_ready, revise_document, and submit_document."
    • changedInput schema / properties / expected_transition_revision / description
      Previous value: -"Current transition revision required for revise_contribution and mark_ready."New value: +"Current lifecycle transition revision required by contribution and document writes; open_document_round accepts this version but not expected_revision."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum review requests returned; defaults to 20."New value: +"Result cap: read_reviews and list_documents default to 20 with maximum 50; search_documents defaults to 10 with maximum 20."
    • changedInput schema / properties / record_id / description
      Previous value: -"Versioned team contribution record for reads, revision, or readiness."New value: +"Versioned Team record. Required by record- and document-specific reads and writes; inspect describe.document_actions for each document action."
    • addedInput schema / properties / revision / description
      Added value: +"Immutable document revision to check with check_document; defaults to the current revision. It is not an optimistic write token."
  2. Changed14 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "describe",
      -  "read_work",
      -  "read_record",
      -  "create_work",
      -  "update_work",
      -  "transition_work",
      -  "publish_contribution",
      -  "revise_contribution",
      -  "mark_ready",
      -  "read_reviews",
      -  "request_review",
      -  "respond_review",
      -  "resolve_review"
      -]New value: +[
      +  "describe",
      +  "read_work",
      +  "read_record",
      +  "create_work",
      +  "update_work",
      +  "transition_work",
      +  "publish_contribution",
      +  "revise_contribution",
      +  "mark_ready",
      +  "read_reviews",
      +  "request_review",
      +  "respond_review",
      +  "resolve_review",
      +  "create_document",
      +  "revise_document",
      +  "open_document_round",
      +  "check_document",
      +  "give_feedback",
      +  "reply_feedback",
      +  "treat_feedback",
      +  "submit_document",
      +  "close_round",
      +  "list_documents",
      +  "search_documents",
      +  "read_document_history",
      +  "diff_document"
      +]
    • addedInput schema / properties / category
      Added value: +{
      +  "enum": [
      +    "decision",
      +    "reference",
      +    "manual",
      +    "milestone",
      +    "note"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / comment
      Added value: +{
      +  "maxLength": 2000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / content
      Added value: +{
      +  "maxLength": 4000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / feedback_id
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • addedInput schema / properties / from_revision
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "maximum": 500,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / query
      Added value: +{
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / reason
      Added value: +{
      +  "maxLength": 1000,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / revision
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / source_revision
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / standing
      Added value: +{
      +  "enum": [
      +    "active",
      +    "working",
      +    "archived",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / to_revision
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / work_refs
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "relationship": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "work_id": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "work_id",
      +      "relationship"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  3. Added

TDQS

B3.3/5.0
Behavior3/5

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

The description adds 'permission-checked' and 'versioned' context, which are useful behavioral traits. Annotations already indicate non-readonly and non-destructive, so no contradiction. However, it does not disclose the tool's complexity (26 actions), the need to call describe first, or any rate limits – the schema partially covers describe, but the description itself is sparse.

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

Conciseness4/5

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

A single, efficient sentence that front-loads the core capabilities without fluff. It is concise but omits mention of document actions and the describe entry point, so it is slightly under-informative for such a large surface area.

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

Completeness2/5

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

With 26 actions, 36 parameters, no output schema, and only 58% schema coverage, the description is far too thin. It does not hint at document workflows, feedback, or the describe-before-use contract, leaving an agent to discover these through the schema or trial. Significant gaps remain.

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 58%, and many parameters have inline descriptions (e.g., action, limit, work_id, expected_revision). The tool description does not add parameter meaning beyond what the schema provides. Baseline 3 is appropriate since the schema carries most of the load.

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 description uses specific verbs (read, advance, publish, request/respond) and identifies the resource (shared work, versioned contributions, exact-version reviews). It distinguishes the tool as a 'team destination' but does not name sibling alternatives or enumerate the full action set, so it is clear but not exhaustive.

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

Usage Guidelines3/5

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

It implies usage for team-related work/contribution/review operations but gives no explicit when-to-use vs. alternatives. There are no exclusions or conditions. Given the broad scope and many sibling tools, some routing guidance would help.

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