Skip to main content
Glama

Check what needs you

check
Read-onlyIdempotent

Check what needs you (this agent key) across every workspace you reach, or only the workspaces you name (ids or slugs, at most 50). Returns, for each workspace with something to report (at most 50 listed; moreWorkspaces counts the rest): waiting, the tasks that wait on you (an exact count, and items with id, title, type and to: do for a task for you, decide for a review addressed to you; at most 20 items in the whole reply, every decide before any do, hasMore where a workspace has more); unreadMessages, the workspace chat's messages you have not been shown (up to 100); lastChange, when the workspace last changed and who changed it, never counting your own changes or the chat (a message on a task's thread is a change), looked for among its newest 1,000 history entries. quietWorkspaces counts the workspaces with nothing to report, and asOf is the time of the answer. include limits it to some parts (waiting, messages, changes): a part left out is absent, never zero. since, the asOf of your previous check, lists a workspace for a change only when the change came after it less 30 seconds, so a change made just before your last check is listed again: compare lastChange.at with what you saw. What waits and unread chat are listed either way. It changes nothing: it marks nothing read, and the call itself is recorded like any call. A workspace you do not reach, one in the trash included, is refused INVALID_INPUT naming workspaces; a slug two of your workspaces share, AMBIGUOUS_REFERENCE with details.candidates (name it by id). WORKSPACE_BUSY: nothing was changed; check again shortly.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
sinceNoCount a workspace as changed only when its last change is after this time, less a 30-second overlap: pass the asOf of your previous check. A change in the 30 seconds before it is listed again, so compare lastChange.at with what you saw. An ISO 8601 timestamp, or a time back (30m, 12h, 3d). Never in the future. What waits on you and unread chat are listed whatever it says.
includeNoOnly these parts, a list or comma-separated text: waiting (what waits on you), messages (unread chat), changes (each workspace's last change by someone else). A part left out is absent from the reply, never zero. Omitted: all three.
workspacesNoOnly these workspaces, each by its id or slug, at most 50: a list, or comma-separated text; each must be one you reach. Omitted: every workspace you reach.

Output Schema

NameRequiredDescriptionDefault
asOfYesThe time of this answer: pass it as since to your next check.
waitingNoTasks waiting on you, in all.
workspacesYesEach workspace with something to report, at most 50: what waits on you first, then unread chat, then the newest change.
moreWorkspacesYesWorkspaces with something to report past the 50 listed (those listed only for their oldest changes are cut first); 0 when none were cut. Name them in workspaces (workspace_list lists them), or pass since.
unreadMessagesNoUnread chat messages, in all (each workspace counted up to 100).
quietWorkspacesYesWorkspaces with nothing to report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • addedInput schema / properties / include / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "enum": [
      +        "waiting",
      +        "messages",
      +        "changes"
      +      ],
      +      "type": "string"
      +    },
      +    "maxItems": 3,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "maxLength": 64,
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / include / description
      Previous value: -"Only these parts: waiting (what waits on you), messages (unread chat), changes (each workspace's last change by someone else). A part left out is absent from the reply, never zero. Omitted: all three."New value: +"Only these parts, a list or comma-separated text: waiting (what waits on you), messages (unread chat), changes (each workspace's last change by someone else). A part left out is absent from the reply, never zero. Omitted: all three."
    • removedInput schema / properties / include / items
      Removed value: -{
      -  "enum": [
      -    "waiting",
      -    "messages",
      -    "changes"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / include / maxItems
      Removed value: -3
    • removedInput schema / properties / include / minItems
      Removed value: -1
    • removedInput schema / properties / include / type
      Removed value: -"array"
    • changedInput schema / properties / since / description
      Previous value: -"Count a workspace as changed only when its last change is after this time, less a 30-second overlap: pass the asOf of your previous check. A change in the 30 seconds before it is listed again, so compare lastChange.at with what you saw. An ISO 8601 timestamp, or a time back (12h, 3d). Never in the future. What waits on you and unread chat are listed whatever it says."New value: +"Count a workspace as changed only when its last change is after this time, less a 30-second overlap: pass the asOf of your previous check. A change in the 30 seconds before it is listed again, so compare lastChange.at with what you saw. An ISO 8601 timestamp, or a time back (30m, 12h, 3d). Never in the future. What waits on you and unread chat are listed whatever it says."
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
    • addedInput schema / properties / workspaces / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "description": "The workspace: its id or its slug.",
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 50,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "maxLength": 5000,
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / workspaces / description
      Previous value: -"Only these workspaces, each by its id or slug, at most 50; each must be one you reach. Omitted: every workspace you reach."New value: +"Only these workspaces, each by its id or slug, at most 50: a list, or comma-separated text; each must be one you reach. Omitted: every workspace you reach."
    • removedInput schema / properties / workspaces / items
      Removed value: -{
      -  "description": "The workspace: its id or its slug.",
      -  "maxLength": 64,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / workspaces / maxItems
      Removed value: -50
    • removedInput schema / properties / workspaces / minItems
      Removed value: -1
    • removedInput schema / properties / workspaces / type
      Removed value: -"array"
    • changedOutput schema / properties / workspaces / items / properties / role / enum
      Previous value: -[
      -  "admin",
      -  "editor",
      -  "viewer"
      -]New value: +[
      +  "admin",
      +  "editor",
      +  "collaborator",
      +  "viewer"
      +]
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds real context: it marks nothing read, the call itself is recorded like any call, and it names concrete failure modes (INVALID_INPUT for unreachable or trashed workspaces, AMBIGUOUS_REFERENCE with details.candidates for shared slugs, WORKSPACE_BUSY with nothing changed). That is exactly the beyond-annotation disclosure this dimension rewards.

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?

Purpose and scope are front-loaded in the first clause, but the single paragraph then runs long, enumerating return fields (waiting, unreadMessages, lastChange, quietWorkspaces, asOf) that the output schema already documents. Dense but nearly every clause carries operational information; some trimming of the return-value recap would improve it.

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

Completeness4/5

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

For a 4-param, zero-required read tool with an output schema and full annotations, almost everything an agent needs is present: scope, truncation limits, the since overlap trap, and error semantics. Slight over-completeness in re-explaining return shape rather than omission.

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 coverage is already 100% and each parameter carries a full description, so the prose largely restates the schema (workspaces max 50 by id or slug, include as list or comma-separated, since as ISO or relative time). The only added meaning is behavioral — that omitted parts are absent rather than zero, and that hints of truncation appear (at most 20 items, hasMore). Baseline 3 is appropriate.

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

Purpose5/5

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

States a specific verb and resource with scope nailed down: "check what needs you (this agent key) across every workspace you reach, or only the workspaces you name." An agent immediately knows this is an inbox/triage read scoped to its own key, distinct from artifact/correction/definition tools in the sibling list.

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

Usage Guidelines4/5

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

Gives concrete usage mechanics: pass the previous check's asOf to since, restrict with include or workspaces, and it explains the 30-second overlap and why comparing lastChange.at matters. It does not name a competing tool to prefer instead, but the sibling list contains no obvious alternative for this triage purpose, so the gap is minor.

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.