Skip to main content
Glama

get_hours

Read-only

The app's business hours and away message, as in the dashboard's app settings › Hours. Returns hours (enabled, timezone, days: one opening per weekday like mon: ["09:00", "18:00"] or null for closed, away: { enabled, text, whenTeamAway }, suggest) and suggestion: hours worked out from when the team actually replied over the last 30 days ({ start, end, replies }, or null), filled when suggest is on. With hours on, the reply time card says when the team is back, and the away message (or the card, when the card is on) answers customers who write while closed. Shared by every platform of the app.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdNoThe app to act on, from list_apps. Optional when the key belongs to one app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description goes further by disclosing how the suggestion object is derived (replies over the last 30 days) and that it is null unless 'suggest' is on. It also explains the downstream effect on the reply time card and away message, which is genuine behavioral context beyond the annotations. Minor gaps remain around default values when nothing is configured.

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?

It is front-loaded correctly — the resource and the dashboard analogue come first — but the body is a run-on sentence with stacked parentheticals, and the closing line 'Shared by every platform of the app' adds little for tool selection. The nested return-shape notation is dense to parse in prose form.

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?

There is no output schema, so the description carries the return contract, and it does so well: field lists, the weekday opening format with a null-for-closed case, and the nullable suggestion object. For a single-optional-param read tool that is close to complete; only default/empty-state behavior is unstated.

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% and the single optional appId is fully documented in the schema, including its 'from list_apps' origin and the optional-when-single-app rule. The description never mentions appId and adds no meaning beyond it, so the baseline 3 applies.

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 names a concrete resource pair — business hours and away message — and anchors it to a known UI location ('dashboard's app settings › Hours'), then enumerates the returned fields (enabled, timezone, days, away, suggest). That is specific enough that an agent can tell it apart from get_context, get_setup, or get_reply_identity without opening any schema.

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?

Usage is implied rather than stated: an agent infers it should call this when it needs to know whether the team is currently closed or what customers see after hours. There is no explicit 'use this when' clause, no exclusion naming a sibling, and no statement of 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