Authenticate
authenticateStart hosted authentication for a thread request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | ||
| idempotencyKey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
authenticateStart hosted authentication for a thread request.
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | ||
| idempotencyKey | No |
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Input schema / additionalPropertiesAdded value: +falseInput schema / anyOfRemoved value: -[
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "agent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "request": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "request"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "agent": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authentication": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "authentication"
- ],
- "type": "object"
- }
-]Input schema / propertiesAdded value: +{
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+}Input schema / requiredAdded value: +[
+ "request"
+]Input schema / anyOfAdded value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "agent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "request": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agent": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication"
+ ],
+ "type": "object"
+ }
+]Input schema / oneOfRemoved value: -[
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "actingAiId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authenticationRequestId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "idempotencyKey": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "mode": {
- "const": "start",
- "type": "string"
- }
- },
- "required": [
- "mode",
- "actingAiId",
- "authenticationRequestId",
- "idempotencyKey"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "actingAiId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authenticationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "mode": {
- "const": "status",
- "type": "string"
- }
- },
- "required": [
- "mode",
- "actingAiId",
- "authenticationId"
- ],
- "type": "object"
- }
-]Output schema / oneOfPrevious value: -[
- {
- "additionalProperties": false,
- "properties": {
- "authenticationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authorizationUrl": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "revision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "enum": [
- "awaiting_consent",
- "authorizing",
- "exchanging",
- "expired"
- ],
- "type": "string"
- },
- "targetAiId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "authenticationId",
- "targetAiId",
- "revision",
- "expiresAt",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authenticationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authorizationUrl": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "grantId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "revision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "const": "connected",
- "type": "string"
- },
- "targetAiId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "authenticationId",
- "targetAiId",
- "revision",
- "expiresAt",
- "status",
- "accountId",
- "grantId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "authenticationId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "authorizationUrl": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "reason": {
- "enum": [
- "provider_denied",
- "provider_failed",
- "exchange_uncertain"
- ],
- "type": "string"
- },
- "revision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "enum": [
- "denied",
- "failed"
- ],
- "type": "string"
- },
- "targetAiId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- },
- "threadId": {
- "maxLength": 200,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
- "type": "string"
- }
- },
- "required": [
- "authenticationId",
- "targetAiId",
- "revision",
- "expiresAt",
- "status"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "awaiting_consent",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "authorizing",
+ "exchanging",
+ "expired",
+ "denied",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "authentication": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "idempotencyKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
+ "type": "string"
+ },
+ "status": {
+ "const": "connected",
+ "type": "string"
+ }
+ },
+ "required": [
+ "authentication",
+ "expiresAt",
+ "status",
+ "account"
+ ],
+ "type": "object"
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is partly covered. The description adds only that authentication is 'hosted', hinting at an external flow, but says nothing about what the call triggers (redirect/browser/URL return), what credentials are needed, or why it is non-idempotent — significant gaps even at the reduced annotation bar.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with no padding or redundancy, front-loading the action. It is efficient, though its brevity stems partly from under-specification rather than disciplined editing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be explained, but for a non-idempotent, open-world mutation with two fully undocumented parameters, one sentence is not enough to call it correctly. The description should at minimum clarify what a 'thread request' is and what happens on invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for both parameters, so the description must carry the burden. It mentions 'request' only in passing ('a thread request') without explaining the expected format, origin, or content of the string, and never mentions idempotencyKey at all.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a verb+resource ('Start hosted authentication'), which is more specific than a tautology, but 'hosted authentication for a thread request' is opaque terminology and 'thread request' is never defined. It also does nothing to distinguish itself from siblings like list_auth_credentials or start_thread, which an agent could easily confuse it with.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no prerequisites, and no mention of alternatives or when NOT to call it. The agent is left to infer the entire triggering context from a single vague sentence.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.