mcp-server
v1.21.1AgentValet is a credential broker for AI agents and MCP servers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_platforms
list_platforms: List the platforms and permission scopes this agent has access to. Call it once per task, not before every call. Input: detail (optional: "compact", the default, or "full"), platform (optional: a platformId, returns that one platform in full detail). Returns (compact, the default): { detail: "compact", platforms: [{ platformId, platformName, scopes? (non-MCP: the scope names to pass), scopeCount?, toolCount? and toolsEndpoint? (MCP: the tool list and schemas are fetched there; the scope for a tool is "<platformId>:<tool>", and tool names in compact output omit that prefix), req…
| Parameter | Type | Description |
|---|---|---|
detail | string | Optional. "compact" (default): one short entry per platform. "full": every platform with its full scope list, apiHints and unenforcedScopes. |
platform | string | Optional. A platformId: return only that platform, in full detail, with connected/health/lastProbeAt/lastSuccessAt. |
read_platform
read_platform: Read data from a platform the owner has connected, through the AgentValet proxy. Calls the platform's own public REST API (for example the GitHub REST API, the Slack Web API, the Stripe API); `endpoint` is a path in that API exactly as its documentation defines it. A platform that list_platforms reports as callStyle 'graphql' cannot be read with this tool at all: it exposes a SINGLE endpoint that accepts only POST {query, variables}, so send the read query through write_platform even though it is a read. Issuing a GET there returns an upstream error that names neither the platfo…
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | Path in the platform's own API (e.g. /user/repos) |
platform * | string | Platform ID (e.g. github, slack, stripe) |
scope * | string | Permission scope required for this read (e.g. repo:read) |
caller | object | Optional. Who the human is that this call is for, when this agent serves many people: { assertion: '<JWT from an identity provider the org registered>' } (verified) or { source, id } (asserted; honour… |
connection_id | string | Optional. Target a specific connection when a platform has more than one connected. Omit to use the default. |
reason | string | Optional but strongly encouraged. One sentence on WHY you are making this call. Shown to the human approver if the call is gated. Max 500 characters; plain text. |
save_to | string | Optional. Where to save a binary response (an image, PDF, zip): an existing directory, or a file path. Binary responses are always written to a file and only { saved_to, contentType, size } is returne… |
write_platform
write_platform: Create or update data on a platform the owner has connected, through the AgentValet proxy. Calls the platform's own public REST API (for example the GitHub REST API, the Slack Web API, the Stripe API); `endpoint` is a path in that API exactly as its documentation defines it. For a platform whose callStyle is 'graphql', pass "/" as the endpoint and put the operation in body as {query, variables}: the path and the HTTP method carry no meaning on that platform. Accepts POST, PUT or PATCH only: use read_platform for GET and delete_platform for DELETE. May block up to 50s for owner…
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | Path in the platform's own API (e.g. /chat.postMessage) |
platform * | string | Platform ID (e.g. github, slack, stripe) |
scope * | string | Permission scope required for this write (e.g. chat:write) |
body | object | JSON request body, forwarded verbatim to the upstream API. |
caller | object | Optional. Who the human is that this call is for, when this agent serves many people: { assertion: '<JWT from an identity provider the org registered>' } (verified) or { source, id } (asserted; honour… |
connection_id | string | Optional. Target a specific connection when a platform has more than one connected. Omit to use the default. |
method | string | POST to create, PUT to replace, PATCH to modify. Defaults to POST. |
reason | string | Optional but strongly encouraged. One sentence on WHY you are making this call. Shown to the human approver if the call is gated. Max 500 characters; plain text. |
save_to | string | Optional. Where to save a binary response (an image, PDF, zip): an existing directory, or a file path. Binary responses are always written to a file and only { saved_to, contentType, size } is returne… |
delete_platform
delete_platform: Delete data on a platform the owner has connected, through the AgentValet proxy. Calls the platform's own public REST API (for example the GitHub REST API, the Slack Web API, the Stripe API); `endpoint` is a path in that API exactly as its documentation defines it. For a platform whose callStyle is 'graphql', pass "/" as the endpoint and put the operation in body as {query, variables}: the path and the HTTP method carry no meaning on that platform. Always issues DELETE. This removes data and is not reversible by AgentValet. May block up to 50s for owner approval. Input: platfo…
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | Path in the platform's own API (e.g. /repos/owner/name) |
platform * | string | Platform ID (e.g. github, slack, stripe) |
scope * | string | Permission scope required for this delete (e.g. repo:delete) |
body | object | Optional JSON request body, forwarded verbatim. |
caller | object | Optional. Who the human is that this call is for, when this agent serves many people: { assertion: '<JWT from an identity provider the org registered>' } (verified) or { source, id } (asserted; honour… |
connection_id | string | Optional. Target a specific connection when a platform has more than one connected. Omit to use the default. |
reason | string | Optional but strongly encouraged. One sentence on WHY you are deleting this. Shown to the human approver if the call is gated. Max 500 characters; plain text. |
save_to | string | Optional. Where to save a binary response (an image, PDF, zip): an existing directory, or a file path. Binary responses are always written to a file and only { saved_to, contentType, size } is returne… |
agent_register
agent_register: Self-register this agent with an owner. No auth required. Only for a server with no agent configured yet: it is refused once one is, and it never fixes a 401 (that means the configured key is wrong; the owner re-keys the agent in the dashboard). Input: owner_id (string), agent_name (string), requested_scopes (array of {platformId, scopes}). The agent's RSA keypair is generated on this machine; only the public key is sent and the private key stays here. Returns: registration_token, poll_url, client_id, scope, keypair_source, key_stored_locally. Next: once the owner approves in t…
| Parameter | Type | Description |
|---|---|---|
agent_name * | string | Human-readable name for this agent |
owner_id * | string | The owner ID to register this agent under |
requested_scopes * | array | Array of platform scope requests |
agent_status
agent_status: Poll registration status using the token from agent_register. Input: token (string, required). On approval it installs the agent's private key on this machine (~/.agentvalet/agents/<agent_id>.key, plus the default identity if none exists) and activates it for this session when the server had no identity yet. The private key is never returned in the result. Returns: status ("pending"|"approved"|"rejected"|"expired"), agent_id, key_installed, key_path, activated, mcp_config (if approved). Auth: None.
| Parameter | Type | Description |
|---|---|---|
token * | string | Registration token returned by agent_register |
authzen_evaluate
authzen_evaluate: Evaluate whether this agent has access to a specific platform scope. It pre-checks a scope without making the upstream call. Input: platform_id (string), scope (string). Returns: decision (boolean), reason ("approved"|"denied"|"revoked"|"scope_not_granted"). Auth: Bearer agent JWT (sent automatically by this MCP server).
| Parameter | Type | Description |
|---|---|---|
platform_id * | string | The platform identifier (e.g. airtable, github) |
scope * | string | The permission scope to evaluate (e.g. records:read) |
report_self_diagnostic
report_self_diagnostic: Lodge a self-report (error/warning/info) with the AgentValet owner. For use after a platform call's error returns a report_hint, or when there is a problem the owner should know about. Input: severity (debug|info|warn|error|critical), message (string, required, max 4096 bytes), code (string, optional, max 128 chars), platform (string, optional), endpoint (string, optional), correlation_id (uuid string, optional: copy from the failing call's report_hint to stitch this report to the broker-side audit row), context (object, optional, JSON-serialised must be < 16 KiB). Retu…
| Parameter | Type | Description |
|---|---|---|
message * | string | One-sentence agent narrative describing what happened. |
severity * | string | Severity level. error/critical trigger an owner notification. |
code | string | Optional short machine code (e.g. 'permission_denied'). |
context | object | Optional structured context (request params, error details). Avoid secrets. |
correlation_id | string | Optional UUID: copy from a platform call error's report_hint to stitch this report to the audit row. |
endpoint | string | Optional endpoint that failed. |
platform | string | Optional platform id this report relates to. |
list_my_pending_actions
list_my_pending_actions: Returns this agent's currently-pending approval requests AND any that completed in the last 24 hours. Use this at session start when the user mentions an earlier action, or when a platform call's approval wait timed out and the user comes back asking what happened. Input: None. Returns: { pending: [{approval_id, platform_id, scope, created_at, expires_at}], recently_completed: [{approval_id, platform_id, scope, status, executed_at, result_summary, execution_error}] }. Auth: Bearer agent JWT (sent automatically).
request_platform_access
request_platform_access: Ask an org admin to grant this agent access to a platform it is currently blocked from. For when a platform call returns an access-denied error. Input: platform (string, required), scope (string, optional: the specific scope you need), reason (string, optional: why you need it). The call waits up to ~50s for an admin decision. Returns: { status: "approved"|"pending"|"denied", message }. On "approved", retry the original call. On "pending", the request is queued; retry later. Auth: Bearer agent JWT (sent automatically).
| Parameter | Type | Description |
|---|---|---|
platform * | string | Platform ID (e.g. github, slack) |
reason | string | Optional short reason for the request |
scope | string | Optional specific scope needed (e.g. repo:read) |
issue_child_agent
Issue a short-lived child agent identity for a subagent you are about to spawn. The child gets its own agent id, its own attenuated permission slice (child scopes must be a subset of yours), and its own audit trail; it can be revoked alone without touching you or its siblings. Returns a bearer token the subagent must send as its Authorization header. TTL 60-3600s (default 900). Inject ONLY the bearer_token into the subagent's context, never your own credentials.
| Parameter | Type | Description |
|---|---|---|
grants * | array | Array of platform grants to attenuate onto the child. Each scope must be a subset of your own granted scopes. |
name | string | Optional human-readable name for the child agent (1-200 chars). |
ttl_seconds | number | Optional lifetime in seconds for the child's bearer token. 60-3600, default 900. |