Tool permission inspector
Look up consignment
Source record
- Tool: shipment.lookup
- scope: shipment:read
- record: S-24
Decision
Read permitted
Inspect the reasoning
The caller can see this consignment. Return its verified event and timestamp using the existing service identity.
Change delivery slot
Source record
- Tool: booking.change
- scope held: shipment:read
- approval: absent
Decision
Escalate to dispatch
Inspect the reasoning
A read scope cannot authorize a booking change. Prepare a proposed action and send it to a dispatcher who holds the required permission.
Which tools genuinely need write authority?
- Bring to discovery
- Bring a read-only lookup, a proposed mutation, the user roles and an example of a business transaction that must require approval.
- Evidence to proceed
- Release a tool only when its allowed resources and denial behavior are independently tested. A person granting a single approval must be able to see precisely what will change.
What the engagement delivers
An MCP server or agent workflow with typed tools, documented access scopes and test cases for allowed and denied requests.
Implementation decisions
Read-only lookup or action tool?
Read-only lookup
A narrow lookup tool lets the assistant answer from a source system using a small, reviewable permission set.
action tool
A tool that changes bookings or business records removes a handoff but needs a scoped identity, confirmation and an auditable outcome.
Model Context Protocol exposes tools through a common interface. Define one narrow tool for a consignment lookup and another for preparing an exception draft. Give the draft an expiry and a reviewer. Changing a booking requires an explicit business decision and its own authorization.
Where to start in your organization
A small team
Offer one read-only inventory or status lookup. Keep the next action in the user's existing queue until the access rules are proven.
Across an enterprise
Maintain a registry of tools, caller identities, versions and owners. Test revocation, approval expiry and retries for every write-capable tool.
Separate read-only lookups from actions that change records. Define the input contract, caller permissions and approval boundary for each tool.
Review a failure or missing evidence
Exception to inspect
When a tool returns a partial result or the user's permission expires, show the evidence already retrieved and hold the proposed action.
Run an acceptance test
Replay duplicated and out-of-order messages, a missing carrier feed and a deadline across time zones. Measure actionable exceptions detected before cutoff and time spent clearing false alarms. Ask the next shift to explain one flagged shipment from the pack alone.
Which tools can an assistant invoke?
Document a tool catalogue small enough for its permissions to be reviewed. Each entry names the user identity, accepted arguments, data classification, side effects and approval owner. Test expired access and cancelled approvals using dummy records in an isolated acceptance environment.
Who owns release and recovery?
Decision owner
The system owner approves each tool contract and side effect. A business reviewer authorizes consequential actions within the destination process.
Acceptance criteria
A user can complete the agreed task within their permissions. Sensitive changes require an explicit approval.
Trace the source and destination
Source evidence
Read tracking events, appointment windows, shipment identifiers, carrier updates and the time zones at each stop. Keep event time separate from the time a message arrived. A delayed webhook can otherwise make a completed delivery look as though it is still in transit.
Reviewed handoff
Reconstruct the latest defensible state of each shipment. Group related exceptions, show the last verified location and list possible contacts. A dispatcher checks carrier information before releasing revised instructions. The incoming shift sees the evidence and the time remaining to act.