# Συναίνεση / Consent

Your agent acts for you on the personal server only within a mandate you grant on the City's own consent page. You sign in on the City's page, never in the agent's chat (in the prototype, a mock TaxisNet page). The page shows exactly what the agent may do, and you grant or refuse there.

## What an agent may be allowed to do

- Να ετοιμάζει κρατήσεις (κράτηση έως 15 λεπτών, ποτέ μετά την έναρξη) · Prepare bookings (holds of up to 15 minutes, never past the start) (`spaces:prepare`)
- Να επιβεβαιώνει κρατήσεις που εγκρίνατε, ή μέσα στα όρια που προεγκρίνατε · Commit bookings you approved, or within the limits you pre-approved (`spaces:commit`)
- Να ακυρώνει κρατήσεις του · Cancel its bookings (`spaces:cancel`)
- Να βλέπει τις κρατήσεις του και τις αποδείξεις · See its bookings and receipts (`bookings:read`)
- Να υποβάλλει αναφορές προβλημάτων που επιβεβαιώνετε · File reports of problems you confirm (`requests:file`)
- Να βλέπει την πορεία των αναφορών σας · See how your reports progress (`requests:read`)
- Να κλείνει και να ακυρώνει ραντεβού με υπηρεσίες του Δήμου που επιβεβαιώνετε (δοκιμαστικό περιβάλλον) · Book and cancel appointments with City offices that you confirm (test sandbox) (`appointments:book`)
- Να βλέπει τα ραντεβού σας (δοκιμαστικό περιβάλλον) · See your appointments (test sandbox) (`appointments:read`)
- Να ετοιμάζει την πληρωμή των κλήσεών σας· πληρώνονται μόνο όταν την εγκρίνετε στη σελίδα του Δήμου (δοκιμαστικό περιβάλλον) · Prepare paying your fines; each is paid only when you approve it on the City's page (test sandbox) (`fines:pay`)
- Να βλέπει τις κλήσεις σας (δοκιμαστικό περιβάλλον) · See your fines (test sandbox) (`fines:read`)
- Να βλέπει τις αιτήσεις σας στον Δήμο και πού βρίσκεται η καθεμία (δοκιμαστικό περιβάλλον) · See your applications to the City and where each stands (test sandbox) (`applications:read`)

## Limits

- `book_appointment`, `commit_booking`, `pay_fine`, `prepare_booking`, `report_issue` take two calls bound by a plan hash: the agent prepares, and what you approve is exactly what is committed. `cancel_appointment`, `cancel_booking`, `recover_booking`, `request_space`, `withdraw_request` are one call each, with a receipt.
- A booking is held for up to 15 minutes (never past the slot's start) and committed only after you approve that plan on the City's page.
- A report is filed only after you confirm its exact text and place to your agent; at most 5 reports a day per person.
- Each grant carries a spending limit and a number of uses, counted in the ledger.
- A refusal is typed: the agent gets a code and the reason, and you get a sentence that says why.

## Take it back

See every agent you connected, and revoke any of them, on [My agents](https://agorathens.gr/my-agents). A revoked agent's calls are refused from that moment; your existing bookings stay valid.

## For agent developers

- OAuth 2.1 with PKCE; [authorization server metadata](https://agorathens.gr/.well-known/oauth-authorization-server) and [protected resource metadata](https://agorathens.gr/.well-known/oauth-protected-resource/personal/mcp).
- Client registration by a metadata URL (CIMD) for accepted hosts, otherwise dynamic registration.
