Skip to main content
Glama

Set entity flag

set_entity_flag

Flag or unflag an entity (e.g. mark for review). For several entities, prefer set_entity_flags_bulk — one call instead of many.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityYesEntity kind to flag/unflag, e.g. "expense", "income", "transaction".
flaggedYesTrue to flag (e.g. mark for review), false to unflag.
entityidYesId of the entity to flag/unflag.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations indicate a non-read-only, non-destructive mutation, and the description confirms the flagging action. However, it does not disclose additional behavioral details such as idempotency, return behavior, or side effects beyond the flag change.

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?

The description is two short sentences, front-loads the core action, and includes only the useful bulk-guidance note. No filler or redundancy.

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?

For a simple flagging operation, the description plus full schema coverage is adequate. The bulk preference note adds useful context, though it does not mention any return value or confirmation behavior.

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?

The schema already provides complete descriptions for all three parameters (entity, flagged, entityid), so the description adds little beyond the schema. It reinforces the 'mark for review' intent but does not materially extend parameter understanding.

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?

The description clearly states the action ('Flag or unflag an entity') and provides a concrete example ('mark for review'). It also distinguishes itself from the bulk sibling by explicitly naming set_entity_flags_bulk.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to prefer the bulk variant: 'For several entities, prefer set_entity_flags_bulk — one call instead of many.' This makes the single-entity use case clear.

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