Skip to main content
Glama

RemoteLock MCP by usefulapi

Grant door access

remotelock_grant_access

WRITE: gives an access user or guest access to a lock, a door group or a location, so their PIN/card opens it. RemoteLock then syncs the code to the lock(s). Optionally limit the hours with an access schedule (access_schedule_id, for recurring daily hours) or override a guest's start/end time of day on this door. POST /access_persons/{id}/accesses.

Input Schema

NameRequiredDescriptionDefault
accessible_idYesId (UUID) of the lock, door group or location to grant.
guest_end_timeNoGuests only: overrides the time of day the guest's access ends on this door, hh:mm. It is not a daily window: use access_schedule_id for recurring hours.
accessible_typeYesWhat accessible_id is: lock, door_group, location, ...
access_person_idYesRemoteLock access person id (UUID).
guest_start_timeNoGuests only: overrides the time of day the guest's access starts on this door, hh:mm. It is not a daily window: use access_schedule_id for recurring hours.
access_schedule_idNoAccess schedule id, to limit the hours of a permanent user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 and destructiveHint=false; the description adds genuinely new behavior — that RemoteLock syncs the code down to the physical lock(s) after the call — which tells the agent about an asynchronous side effect on hardware. It stops short of saying what happens on partial sync failure or when access already exists.

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?

Front-loaded with the write marker and the core effect, then optional parameters, then the endpoint — a sensible ordering with no wasted clauses. The guest-hours distinction is repeated from the schema, which is minor 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 6-parameter mutation with full schema coverage and annotations, the description covers purpose, side effect, and parameter distinctions adequately. The main omissions are return/response expectations and error behavior on duplicate grants, which are small given no output schema exists.

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 coverage is 100% and the schema descriptions already explain guest_start_time/guest_end_time as time-of-day overrides and access_schedule_id as recurring hours. The description restates this almost verbatim, adding little beyond what the schema provides, 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?

States a specific verb (gives access), the resource (lock, door group, location), and the observable effect (PIN/card opens it). The 'WRITE:' prefix and the endpoint line make it immediately distinguishable from read siblings and from remotelock_revoke_access.

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?

The grant scenario is clear and the schedule-vs-guest-window choice is explained, but there is no statement of prerequisites (the access_person_id must already exist — see create_access_user/create_access_guest) and no explicit pointer to revoke_access as the inverse. Usage is implied rather than routed.

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.