Skip to main content
Glama

Change Hibira settings

api_request
Destructive

Change any setting an API token may change in the Hibira customer API: push credentials, waiting rooms, Approvals workspaces (members, approver groups, auto-approve rules, follow-up, away, webhooks, embedded inbox), and apps. Read the current value with api_get first and send the whole new value for settings that replace a list (rules, groups, webhooks). Every change is logged in the account's activity log as this token's. Deleting, removing and rotating or ending secrets need a token with delete access: before one, show the user exactly what will go and wait for them to agree. A response that creates or rotates a secret (a webhook's signing secret, a single sign-on secret) shows it once: write it only to a git-ignored env file or the user's secret store, never into source code, commits or the chat. Paths (under https://hibira.io/api/v1; GET with api_get, the rest with api_request): Account: GET /activity?category=&app=&limit= (the activity log, every change with who made it), GET /usage. Apps (Realtime): GET /apps, POST /apps, GET|PATCH|DELETE /apps/{app_id} (PATCH and DELETE take the app's "version"), POST /apps/{app_id}/rotate-secret, POST /apps/{app_id}/expire-previous-secret, GET /apps/{app_id}/usage, GET /apps/{app_id}/channels, GET /apps/{app_id}/errors, GET /apps/{app_id}/latency, GET /apps/{app_id}/webhooks/deliveries, POST /apps/{app_id}/webhooks/test, POST /apps/{app_id}/test-event {channel, event, data}. Push: GET|POST|DELETE /apps/{app_id}/push (status, turn on, turn off), PUT|DELETE /apps/{app_id}/push/apns {team_id, key_id, private_key (the .p8), bundle_id, environment}, PUT|DELETE /apps/{app_id}/push/fcm {service_account (JSON)}, POST /apps/{app_id}/push/test, POST /apps/{app_id}/push/rotate-secret. Waiting rooms: GET|POST /apps/{app_id}/waiting_rooms, PATCH|DELETE /apps/{app_id}/waiting_rooms/{room}, POST /apps/{app_id}/waiting_rooms/{room}/admit {count}, GET /apps/{app_id}/waiting_rooms/{room}/report. Approvals (workspaces the account's email is in; admins change them): GET|POST /approvals/workspaces, GET|PATCH|DELETE /approvals/workspaces/{ws} (DELETE takes ?confirm=), PUT /approvals/workspaces/{ws}/members {email, role}, DELETE /approvals/workspaces/{ws}/members/{email}, PUT .../groups {groups}, PUT .../rules {rules} (auto-approve rules; POST .../rules/test {agent, title, ...} shows which would match), PUT .../follow-up (reminders and escalation), PUT .../away {email, until, delegate}, GET|POST .../webhooks, PUT|DELETE .../webhooks/{hook}, POST .../webhooks/{hook}/rotate, POST .../webhooks/{hook}/test, GET|PUT .../embed {origins, hide_brand}, GET .../gates, GET .../chat, GET .../requests, GET .../reports, GET .../activity, POST .../test (a sample request to yourself). Not open to tokens: tokens, team members, billing, Approvals API keys, single sign-on and SCIM.

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "api_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoThe JSON body, if the endpoint takes one.
pathYesThe path, such as /approvals/workspaces/apw_123/rules.
methodYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructive=true and idempotentHint=false, and the description earns added value on top: changes are attributed in the account activity log to this token, DELETE/rotate operations require a token with delete access, and secret-bearing responses appear exactly once with a handling rule (git-ignored env file or secret store, never source/commits/chat). That is real operational context an agent cannot infer from the annotations alone.

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?

The behavioral rules that matter most — read-first, send-whole-value, confirm-before-destroy, secret handling — are front-loaded before the endpoint catalog, so an agent gets the operating constraints before the reference dump. The catalog itself is long and dense, but for a generic path-based tool with no output schema it substitutes for missing documentation and each line maps to a callable route; a more compact grouping would still read better.

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

Completeness5/5

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

Covers the full burden for a generic mutating HTTP tool: base URL, method coverage, one-time secret exposure, activity-log attribution, permission tier for destructive calls, a human confirmation gate, and hard exclusions. With no output schema present, the note that created/rotated secrets are shown once is the key return-value caveat and it is included.

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 67% schema coverage the baseline is 3, and the description goes beyond it: it establishes the base URL (https://hibira.io/api/v1), explains why the method enum has no GET ('GET with api_get, the rest with api_request'), and shows concrete path templates plus body field shapes for many endpoints (e.g. push/apns {team_id, key_id, private_key, bundle_id, environment}). The free-form body object is still only partly characterized, since payloads must be assembled from the catalog rather than a stated rule.

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?

States a specific verb and resource — 'Change any setting an API token may change in the Hibira customer API' — and immediately draws the boundary against the sibling: 'GET with api_get, the rest with api_request.' The enumerated surface (push credentials, waiting rooms, Approvals workspaces, apps) makes the scope concrete and separates it from the narrower purpose-built siblings like create_app or rotate_app_secret.

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?

Gives explicit sequencing ('Read the current value with api_get first'), a write-shape rule ('send the whole new value for settings that replace a list'), a destructive pre-flight protocol ('show the user exactly what will go and wait for them to agree'), and a clear exclusion list ('Not open to tokens: tokens, team members, billing, Approvals API keys, single sign-on and SCIM'). When-to-use, when-not-to-use, and the alternative are all stated rather than implied.

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