enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Function boundedSetAdd

    • Add value to a dedup set only while it's under max entries — a bounded "warn once" tracker. Past the cap, returns false (caller may still act, but the value isn't tracked, so it could re-fire later — an acceptable trade vs. unbounded memory). Pure + exported for unit testing.

      Parameters

      • set: Set<string>
      • value: string
      • max: number

      Returns boolean

      true if the value was newly added; false if already present OR the set is at max capacity.