Skip to main content
Glama

fenbs_change_routines

Destructive

Change Routine Processes, or log a run. log_run (ref or id) records the result (ok, issues or failed), notes, the refs of tasks filed from it, and measures: the numbers the run counted, by name (e.g. {name: 'Stuck buy notes', value: 3}). fenbs compares each measure with the routine's last run that recorded the same name and returns the change (up 1 since RUN-012), so the same names every run give a trend. A routine belongs to one project, or to none; one used on several projects is a template (asksForProject true, no project of its own), and a log_run on a template names the project the run was for. log_run returns the exact runRef plus routineRef. action add, update (ref or id), delete (ref or id), log_run. everyDays sets an optional schedule; kind remains a legacy category; groupId is a saved group on this page. Needs permission to change tasks.

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": {
      "action": "<action>"
    },
    "name": "fenbs_change_routines"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
refNoRTN reference; numeric id remains supported. If both are supplied they must agree.
kindNo
nameNo
notesNolog_run: what it found.
tasksNolog_run: refs of tasks filed from it.
actionYes
checksNoWhat to verify afterwards.
resultNo
groupIdNoadd/update: a saved group on this page. 0 removes it from a group; omitted preserves it on update.
projectNoadd/update: the one project it belongs to ("" for none). log_run: the project this run was for -- required on a template. list/list_runs: filter.
purposeNoWhat it checks or does, and why.
howToRunNoThe steps, in order: a script path, a command, a skill name, or what to do by hand.
measuresNolog_run: the numbers this run counted, at most 20, each name once. Names that match the last run show the change.
ruleRefsNoDecision refs that govern it. Replaces the list.
everyDaysNoDays between runs, independent of group (1-366); 0 clears the schedule.
asksForProjectNoadd/update: true makes it a template used on several projects, which asks for the project on each run; it then has no project of its own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / groupId / description
      Previous value: -"add/update: group from fenbs_groups on this page. 0 removes it from a group; omitted preserves it on update."New value: +"add/update: a saved group on this page. 0 removes it from a group; omitted preserves it on update."
    • changedInput schema / properties / measures / description
      Previous value: -"log_run: the numbers this run counted, at most 20, each name once. Reuse the names of the last run so the change is shown."New value: +"log_run: the numbers this run counted, at most 20, each name once. Names that match the last run show the change."
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, and the description adds substantive context beyond that: the permission requirement, the fact that log_run returns 'the exact runRef plus routineRef', and how measures are diffed against the routine's last run recording the same name ('up 1 since RUN-012'). It does not explain what delete destroys (e.g. whether run history is lost), which is a notable gap for a 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 lead sentence states the resource, but the next several sentences dive deep into log_run and measure-trend detail before the action list is even presented, which buries the operation menu mid-paragraph. The content is valuable but the ordering and semicolon-chained clauses make it heavier than necessary.

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 17-parameter destructive multi-action tool with no output schema, the description covers log_run and templates well and mentions the return refs, but says little about add/update/delete behavior or consequences. An agent could still mis-invoke delete or misconstruct an add without further reading of the schema.

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?

With 71% schema coverage the schema does much of the work, but the description adds meaning the schema cannot: the measures trend mechanism and the same-names-every-run convention, the template/asksForProject relationship ('it then has no project of its own'), and the legacy status of kind. ruleRefs, checks, purpose, and howToRun are left entirely 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?

The description names the resource (routine processes) and enumerates the concrete operations: 'action add, update (ref or id), delete (ref or id), log_run.' It clearly distinguishes the mutation tool from the read-only sibling fenbs_routines by framing everything as change/log operations, though it never names that sibling explicitly.

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 gives real usage conditions for specific paths — log_run on a template must name the project, log_run records measures by name to produce trends, 'Needs permission to change tasks.' But it offers no guidance on choosing between this tool and fenbs_routines, or when to pick add vs update vs delete, leaving the primary routing decision to inference.

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