Skip to main content
Glama

Set entity flags bulk

set_entity_flags_bulk

Flag or unflag many entities at once.

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": {
      "items": "<items>"
    },
    "name": "set_entity_flags_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesEntities to flag/unflag in one call.
flaggedNoDefault flag value applied to items that don't set their own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / items / items / properties / entity / description
      Previous value: -"Entity kind, e.g. \"expense\", \"income\", \"transaction\"."New value: +"Entity kind, e.g. \"expense\", \"income\", \"invoice\", \"transaction\"."
  2. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation/safety profile is covered. The description adds nothing beyond that: it does not state whether flagging is idempotent, whether a partial failure aborts the batch, what happens to unknown entity kinds or ids, or whether any notification side effect occurs.

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?

A single front-loaded sentence with zero filler. It is efficient, though the brevity is partly under-specification rather than disciplined concision.

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

Completeness2/5

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

For a bulk mutation with no output schema, an agent needs to know result shape, partial-failure semantics, and any batch-size limits; none are present. Annotations cover only the basic safety hints, so the description leaves the important operational questions unanswered.

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%, so the schema fully documents 'items', the per-item 'flagged' override, and the top-level default. The description says nothing about parameters, so baseline 3 applies — no added meaning, but no gap created either.

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 pair (flag/unflag) plus resource (entities) and a scope qualifier ('many entities at once') that implicitly contrasts with the single-entity sibling set_entity_flag. It stops short of naming any sibling, so the agent still has to infer that this is the batch variant.

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?

'Many entities at once' implies the bulk use case, which is weak but real guidance. There is no explicit when-to-use/when-not guidance, no mention of set_entity_flag for single entities or set_entity_tags_bulk for the tagging counterpart, and no prerequisites.

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