Title99/100
Check AgentWeb auth
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
START HERE on a new AgentWeb session. Reports whether this session is signed in and returns the exact next step to set the user up (call agentweb_start_claim_link_signup if not). Also checks whether a specific site connection is live. Returns authenticated, auth_type, email and api_key_prefix; with provider, also provider_status (connected, or the reason it is not) and, when something is missing, the next tool to call.
The description explains the capability, when to use it, and what to expect.
Inputs99/100
Input documentation gives an agent enough context to populate the arguments.
provider
The site account to check: an auth_provider id from discover or list_actions (e.g. ubereats-com). Omit to check only the AgentWeb sign-in.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"title": "Check AgentWeb auth",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema78/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"email": {
"description": "The account's email, or null when unknown."
},
"error": {
"description": "Reason code when the call did not do its job, for example that this session has no AgentWeb account yet (message then says how to set one up)."
},
"message": {
"description": "Explanation in words; the whole answer when it is plain text."
},
"provider": {
"description": "The provider id that was checked, when one was passed."
},
"auth_type": {
"description": "How the session authenticated (for example an API key or OAuth), or anonymous."
},
"next_step": {
"description": "What to do next, in words."
},
"next_tool": {
"description": "Name of the tool to call next."
},
"unmetered": {
"description": "Present and true only when this account is not charged for actions."
},
"user_message": {
"description": "A sentence about the welcome balance to pass on to the user."
},
"authenticated": {
"description": "Boolean. Whether this session is signed in to an AgentWeb account."
},
"user_resolved": {
"description": "Boolean. Whether the session maps to an AgentWeb user."
},
"api_key_prefix": {
"description": "First characters of the API key in use, or null (always null on partner sessions)."
},
"provider_status": {
"description": "Object, present when a provider was passed: connected (boolean); when connected, expires_at_ms and granted_at_ms (epoch milliseconds) and display_name; when not, reason (unknown_provider, no_session, expired or rejected)."
},
"welcome_balance": {
"description": "Object, present when the account has a one-time welcome balance: status, granted_usd, remaining_usd, granted_at, expires_at, message."
}
},
"additionalProperties": {}
}