Skip to main content
Glama

Start a task under the framework

start_task
Read-onlyIdempotent

Opens a work record for one legal task and returns the clarifying questions the framework needs answered (step 1, define the task), less any already answered in answers. The first two are the country and, in Australia, the state or territory: ask them first. Read the skill ailf://skills/ai-law-framework before the first call.

Tool call template

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

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

Input Schema

NameRequiredDescriptionDefault
agentNoThe agent and product doing the work, for example "Claude Code" or "Codex".
answersNoAnswers keyed by question id. `from` is "user" when the user answered when asked, or "request" when the user had already said it (then `quote` holds their words).
requestYesThe user’s request, in their words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / answers / properties / leaves_firm / description
      Previous value: -"Will it leave the firm — to a client, another party, a court or a regulator?"New value: +"Will it leave the firm (to a client, another party, a court or a regulator)?"
    • changedInput schema / properties / answers / properties / sworn / description
      Previous value: -"Is any part sworn, affirmed or certified — an affidavit, witness statement or statutory declaration?"New value: +"Is any part sworn, affirmed or certified (an affidavit, witness statement or statutory declaration)?"
  2. Changed3 schema fields changed
    • addedInput schema / properties / answers / properties / country
      Added value: +{
      +  "description": "In which country is the work done, and whose law applies?",
      +  "properties": {
      +    "detail": {
      +      "description": "Anything the user added.",
      +      "type": "string"
      +    },
      +    "from": {
      +      "enum": [
      +        "user",
      +        "request"
      +      ],
      +      "type": "string"
      +    },
      +    "quote": {
      +      "description": "The user’s own words, when `from` is \"request\".",
      +      "type": "string"
      +    },
      +    "value": {
      +      "enum": [
      +        "AU",
      +        "NZ",
      +        "US",
      +        "UK",
      +        "UK-SCT",
      +        "UK-NI",
      +        "other"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "value",
      +    "from"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / answers / properties / jurisdiction / description
      Previous value: -"Which jurisdiction’s law applies, and which court, tribunal or regulator (if any) will receive it?"New value: +"Which court, tribunal or regulator (if any) will receive it? Say \"none\" if it stays with the firm and the client."
    • addedInput schema / properties / answers / properties / state
      Added value: +{
      +  "description": "In Australia: which state or territory? Outside Australia, choose not applicable.",
      +  "properties": {
      +    "detail": {
      +      "description": "Anything the user added.",
      +      "type": "string"
      +    },
      +    "from": {
      +      "enum": [
      +        "user",
      +        "request"
      +      ],
      +      "type": "string"
      +    },
      +    "quote": {
      +      "description": "The user’s own words, when `from` is \"request\".",
      +      "type": "string"
      +    },
      +    "value": {
      +      "enum": [
      +        "NSW",
      +        "VIC",
      +        "QLD",
      +        "WA",
      +        "SA",
      +        "TAS",
      +        "ACT",
      +        "NT",
      +        "CTH",
      +        "several",
      +        "not_applicable",
      +        "unsure"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "value",
      +    "from"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so safety is covered. The description adds useful behaviour: answers already supplied are subtracted from the returned question list, and a skill file must be read first. However 'opens a work record' leaves mild ambiguity about whether any state persists (the sibling record_answers suggests it does not), and it does not say what happens when nothing remains to ask.

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

Conciseness5/5

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

Three sentences, front-loaded with what the tool does and what it returns, then sequencing, then the prerequisite read. No sentence is redundant and nothing important is buried at the end.

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?

There is no output schema, but the description says what comes back (clarifying questions, minus those answered) which is the essential return contract. For a task-opening tool with a large nested answers object the flow is adequately covered; the gap is the empty-questions edge case and any identifier returned for the opened task.

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; the description goes beyond it by explaining the `answers` parameter operationally (they are subtracted from the returned questions) and by imposing ordering on the country/state answers. It does not explain the `agent` parameter or the from/quote provenance fields, which stay schema-only.

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 ('Opens a work record for one legal task') plus its return value ('the clarifying questions the framework needs answered') and places it as 'step 1, define the task'. An agent can distinguish this from record_answers or get_task_guidance without opening any schema.

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 explicit sequencing guidance: it is step 1, and the first two questions (country, then Australian state/territory) must be asked first. It also names a prerequisite document (ailf://skills/ai-law-framework) to read before the first call. It stops short of explicitly naming the follow-on sibling tool for later steps, so 4 rather than 5.

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