Skip to main content
Glama

Task, signal or case context

get_task_context
Read-only

Start any work here: pass one of task, signal_id or case, or none to orient yourself. It returns the applicable rules (follow them first), linked documents, playbooks, suggested_action, handling, lifecycle, trust. Read a rule signal's payload.checks before acting. suggested_action forecasts what request_action would decide, never a permission. Still metadata: fetch rows in your human's own systems. Details: maplith://docs/signals-and-rules.

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": "get_task_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoA support case, in kinds.
pageNoCopy entry.cursor; same task or setup_check.
taskNoPass one of task, signal_id and case.
contextNo{"client": "<company>"}, not a person: adds its variation.
signal_idNoA signal id from list_signals.
setup_checkNoNo-argument form: true adds setup_check, the setup gaps and repairs.
statement_keyNoRead one applicable rule in full.
statements_onlyNoRules only ({} if none), for a client that cut a long answer.
statements_queryNoRank rules; never filter them.
ground_in_contextNosupport_chat follow-up: omit the public ground you hold.
statements_cursorNoNext page; keep the same query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"{\"client\": \"<company>\"} (never a person): adds its confirmed variation."New value: +"{\"client\": \"<company>\"}, not a person: adds its variation."
    • changedInput schema / properties / ground_in_context / description
      Previous value: -"A support_chat follow-up turn: leave out the public ground you already hold; link_first and this_chat stay."New value: +"support_chat follow-up: omit the public ground you hold."
    • changedInput schema / properties / setup_check / description
      Previous value: -"With no task, signal_id or case: true adds setup_check, each missing setup link with its repair."New value: +"No-argument form: true adds setup_check, the setup gaps and repairs."
    • changedInput schema / properties / statements_only / description
      Previous value: -"Rules alone, {} when none apply; call again with it only when your client cut a long answer."New value: +"Rules only ({} if none), for a client that cut a long answer."
    • changedInput schema / properties / task / properties / description / description
      Previous value: -"What you were asked, in your own words; at most 2,000 characters."New value: +"What you were asked, in your own words."
    • changedInput schema / properties / task / properties / references / description
      Previous value: -"Map object names, file paths or URLs; never a record id such as an order number."New value: +"Object names, file paths or URLs; no record ids."
  2. Changed2 schema fields changed
    • changedInput schema / properties / page / description
      Previous value: -"Page from entry.cursor; same task."New value: +"Copy entry.cursor; same task or setup_check."
    • addedInput schema / properties / setup_check
      Added value: +{
      +  "description": "With no task, signal_id or case: true adds setup_check, each missing setup link with its repair.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "Page from entry.cursor; same task.",
      +  "type": "integer"
      +}
  4. Changed1 schema field changed
    • removedInput schema / properties / rule_node
      Removed value: -{
      -  "description": "One rule group, by node_key.",
      -  "maxLength": 32,
      -  "type": "string"
      -}
  5. Changed1 schema field changed
    • addedInput schema / properties / ground_in_context
      Added value: +{
      +  "description": "A support_chat follow-up turn: leave out the public ground you already hold; link_first and this_chat stay.",
      +  "type": "boolean"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "{\"client\": \"<company>\"} (never a person): adds its confirmed variation.",
      +  "type": "object"
      +}
  7. Changed2 schema fields changed
    • changedInput schema / properties / statements_only / description
      Previous value: -"Rules without other context."New value: +"Rules alone, {} when none apply; call again with it only when your client cut a long answer."
    • changedInput schema / properties / task / properties / references / description
      Previous value: -"Object names, paths or URLs."New value: +"Map object names, file paths or URLs; never a record id such as an order number."
  8. Changed1 schema field changed
    • addedInput schema / properties / task / properties / description / description
      Added value: +"What you were asked, in your own words; at most 2,000 characters."
  9. Changed6 schema fields changed
    • changedInput schema / properties / case / description
      Previous value: -"A support case instead of a signal. Kinds only: no e-mail address, number or name."New value: +"A support case, in kinds."
    • changedInput schema / properties / case / properties / identifier / description
      Previous value: -"The kind of identifier you hold for the customer, e.g. \"email\", \"phone\" or \"order number\"."New value: +"e.g. \"email\" or \"order number\", never a value"
    • changedInput schema / properties / case / properties / topic / description
      Previous value: -"The kind of case, e.g. \"return\", \"refund\" or \"delivery\"."New value: +"e.g. \"return\" or \"refund\""
    • addedInput schema / properties / rule_node
      Added value: +{
      +  "description": "One rule group, by node_key.",
      +  "maxLength": 32,
      +  "type": "string"
      +}
    • changedInput schema / properties / signal_id / description
      Previous value: -"The id of a signal from list_signals. Pass this or case, not both."New value: +"A signal id from list_signals."
    • addedInput schema / properties / task
      Added value: +{
      +  "description": "Pass one of task, signal_id and case.",
      +  "properties": {
      +    "description": {
      +      "maxLength": 2000,
      +      "type": "string"
      +    },
      +    "references": {
      +      "description": "Object names, paths or URLs.",
      +      "items": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "maxItems": 20,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "description"
      +  ],
      +  "type": "object"
      +}
  10. Changed4 schema fields changed
    • addedInput schema / properties / statement_key
      Added value: +{
      +  "description": "Read one applicable rule in full.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
    • addedInput schema / properties / statements_cursor
      Added value: +{
      +  "description": "Next page; keep the same query.",
      +  "maxLength": 512,
      +  "type": "string"
      +}
    • addedInput schema / properties / statements_only
      Added value: +{
      +  "description": "Rules without other context.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / statements_query
      Added value: +{
      +  "description": "Rank rules; never filter them.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
  11. Changed3 schema fields changed
    • addedInput schema / properties / case
      Added value: +{
      +  "description": "A support case instead of a signal. Kinds only: no e-mail address, number or name.",
      +  "properties": {
      +    "identifier": {
      +      "description": "The kind of identifier you hold for the customer, e.g. \"email\", \"phone\" or \"order number\".",
      +      "maxLength": 100,
      +      "type": "string"
      +    },
      +    "topic": {
      +      "description": "The kind of case, e.g. \"return\", \"refund\" or \"delivery\".",
      +      "maxLength": 200,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "identifier",
      +    "topic"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / signal_id / description
      Previous value: -"The id of a signal from list_signals."New value: +"The id of a signal from list_signals. Pass this or case, not both."
    • removedInput schema / required
      Removed value: -[
      -  "signal_id"
      -]
  12. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, closed-world, so the description correctly spends its words elsewhere: rules must be followed first, payload.checks should be read before acting, and suggested_action is a forecast rather than a permission. The "still metadata" caveat is exactly the kind of boundary an agent needs. It omits nothing critical but also doesn't discuss size/limits of the returned context.

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?

Front-loaded with the imperative "Start any work here," then ordered by invocation, return contents, and safety caveats, ending with a docs pointer. The telegraphic fragments ("Read a rule signal's payload.checks before acting.") are dense but each carries distinct information. Slightly choppy to parse but no wasted sentences.

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 an 11-parameter tool with nested objects and no output schema, the description takes on the return-value burden by naming the top-level pieces of the response (rules, documents, playbooks, suggested_action, handling, lifecycle, trust). Combined with annotations, that is enough to call it correctly, though field-level shape is only sketched.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description adds real meaning on top: it declares task/signal_id/case as mutually exclusive alternatives with an all-omitted orient form, and explains statements_only as the recovery path for a client that cut a long answer. Coverage of the remaining flags (statement_key, statements_query) is left to the schema.

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?

"Start any work here" plus the enumeration of what comes back (rules, linked documents, playbooks, suggested_action, handling, lifecycle, trust) makes clear this is a context/orientation fetch keyed by task, signal or case. It also separates itself from request_action (forecast only) and from row-level fetch, so an agent can place it among siblings. It never states a crisp verb+resource in one clause, which keeps it from a 5.

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?

"Start any work here" is an explicit when-to-use directive, and it names the alternatives: request_action for decisions and the human's own systems for actual rows. Parameter-level hints (statements_only for a truncated answer, ground_in_context for support_chat follow-ups, page/statements_cursor reuse) further route invocation. It stops short of explicit when-not-to-use conditions.

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