Skip to main content
Glama

Set the brief

set_brief

The reader's brief compiled from the record you wrote: who they are, their morning, and lanes, each standing on a target (world, country:XX, medtop:N, wd:Qn), an all_of or any_of of them, or what a piece says; a lane may follow a story (storyline:N or thread:N, or its name), with {up_to: N, when: sizeable} for only a morning it moved; a plain name in place of an id is resolved (one match taken; several: the first taken and one question). Answers the record, resolved, read_back (a plain-language summary), confirm for save_brief; or problem with a pointer and a fix per error. The brief itself is saved only by save_brief; a draft of what a lane's words mean may be kept up to a day.

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": {
      "brief": "<brief>"
    },
    "name": "set_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefYesThe brief: the record in YAML or JSON (the schema at /start/brief.schema.json, the example at /start/brief.example.yaml); a plain name where no id is known is resolved.
languageNoThe reader's language, ISO 639-1 (en, pl, sv, de, ...): names are looked up in it; our own text comes in en or pl, `read_in` says which.en

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / language / description
      Added value: +"The reader's language, ISO 639-1 (en, pl, sv, de, ...): names are looked up in it; our own text comes in en or pl, `read_in` says which."
    • removedInput schema / properties / language / enum
      Removed value: -[
      -  "en",
      -  "pl"
      -]
    • addedInput schema / properties / language / pattern
      Added value: +"^[a-z]{2}$"
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Beyond annotations, it discloses that the brief is not persisted here, that a lane-meaning draft may be kept up to a day, and that responses include resolved/read_back/confirm or problem details. That is meaningful behavioral context for a non-readonly, non-destructive tool.

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

Conciseness3/5

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

The definition is information-dense with no filler, but it is a single sprawling sentence chain with heavy jargon and no front-loaded action statement. Structure could be much clearer for an agent parsing it quickly.

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

Completeness3/5

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

For a complex, domain-specific brief compiler with an output schema and annotations, the description covers return signals and save separation but leaves key domain terms ('record', 'morning') and sibling workflow (amend_brief) unexplained. It is adequate but not complete.

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 already 100%, but the description adds substantial semantics for the brief parameter: target forms (world, country:XX, medtop:N, wd:Qn), all_of/any_of, story following, up_to/when, and name-resolution behavior. It does not mention the language parameter, but the schema fully documents it.

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

Purpose3/5

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

The description describes the brief's structure and says it answers with resolved/read_back/confirm for save_brief, but it never states a clear action verb for set_brief itself. It distinguishes itself from save_brief by noting the brief is saved only there, yet the domain jargon ('record', 'lanes', 'morning') leaves the core purpose somewhat vague.

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 use before save_brief by saying the brief is saved only by save_brief and that confirm is for save_brief, but it never explicitly says when to choose set_brief over amend_brief or other siblings. No prerequisites or workflow ordering are stated.

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