Skip to main content
Glama

Set working hours

owner_set_schedule
DestructiveIdempotent

Only for business owners signed in to Awning. Replace weekly hours of the business, or of one staff member/room with resource_id. Existing bookings are kept.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursYes
business_idNoOnly needed if you manage several businesses
resource_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / hours / items / properties / close / maxLength
      Added value: +20
    • changedInput schema / properties / hours / items / properties / days / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 100,
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "maxLength": 20,
      +      "type": "string"
      +    },
      +    "maxItems": 14,
      +    "type": "array"
      +  }
      +]
    • addedInput schema / properties / hours / items / properties / open / maxLength
      Added value: +20
    • addedInput schema / properties / hours / maxItems
      Added value: +100
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=true. The description adds real value on top: 'Replace weekly hours' clarifies it is an overwrite, and 'Existing bookings are kept' scopes exactly what is and isn't destroyed. It does not describe rate limits or auth error behavior, but the annotation bar is already met.

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?

Two short sentences with no filler. The auth constraint is front-loaded ahead of the scoping and side-effect information, which is the right ordering.

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 mutation tool with no output schema, it covers the key concerns: who may call it, what scope it applies to, that it overwrites, and that bookings survive. Only detailed return/permission behavior is missing, which is minor given the annotations cover the safety profile.

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 33%, with business_id documented in the schema and the hours sub-fields (days/open/close) well annotated. The description adds meaning for resource_id ('one staff member/room'), compensating for the undocumented parameter, but adds nothing to the already-described fields. A baseline 3 is appropriate.

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?

States a specific verb and resource: 'Replace weekly hours of the business, or of one staff member/room with resource_id.' This clearly distinguishes the business-wide scope from the per-resource scope. It does not explicitly name the read counterpart owner_get_schedule, so sibling differentiation is implicit rather than stated.

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

Usage Guidelines4/5

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

'Only for business owners signed in to Awning' gives a clear auth precondition, and the resource_id clause tells the agent when to target a staff member/room versus the whole business. No explicit when-not guidance or named alternative is provided.

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