Skip to main content
Glama

Generate action brief

devtune_generate_action_brief

Trigger brief generation for a specific action. Returns whether the brief was already ready or has been queued or is already generating in the background. A ready brief is reused while its inputs are unchanged; set regenerate to replace it.

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": {
      "actionId": "<actionId>"
    },
    "name": "devtune_generate_action_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYesUUID of the action to generate the brief for.
briefStyleNoOptional brief style override. Defaults to best_fit and must respect project content preferences.
regenerateNoReplace a ready brief even when its inputs are unchanged. Costs the same credits as generating it. Refused with a conflict for a live or archived action, whose brief is the record of what shipped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / regenerate
      Added value: +{
      +  "description": "Replace a ready brief even when its inputs are unchanged. Costs the same credits as generating it. Refused with a conflict for a live or archived action, whose brief is the record of what shipped.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true; the description adds genuine value on top by disclosing the three outcome states (ready/queued/generating), the reuse-instead-of-regenerate behavior, and the conflict failure mode for live/archived actions. It does not say whether the caller must poll or re-call to learn when a queued brief finishes.

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 short sentences, zero preamble: the action first, then the three return states, then the reuse/regenerate rule. Every sentence carries information an agent needs before calling.

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?

With no output schema, the description usefully explains what comes back (ready/queued/generating), which is the key gap it needed to cover for a 3-param async-style tool. Remaining gaps are minor: no guidance on retrieving the finished brief or on how the briefStyle override interacts with project content preferences beyond the schema's own note.

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 100%, including the briefStyle enum and the credit cost and conflict semantics of regenerate, so the description's "set regenerate to replace it" is largely a restatement. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

Specific verb+resource: "Trigger brief generation for a specific action," which is clearly distinct from the retrieval sibling devtune_get_action_brief in practice. It stops short of naming that sibling or stating "this does not return the brief content," so an agent must infer the split from the return-value sentence.

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?

Clear triggering context plus real exclusion rules: a ready brief is reused while inputs are unchanged, and regenerate is refused for live or archived actions. It never explicitly says to call devtune_get_action_brief to read the result, which is the one missing routing cue.

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