Skip to main content
Glama

Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ)

createAgentAccessKey

Create a separate, revocable access key for one agent or script. Use instead of sharing the primary key from getUserAccessKey. Returns: id, name, accessKey (shown once), accessKeyPrefix, createdAt.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "confirmCreation": "<confirmCreation>"
    },
    "name": "createAgentAccessKey"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesLabel for this agent's key, 1-64 chars. Examples: 'claude-code-laptop', 'n8n-prod', 'cursor'
feedbackNoOptional. Any free-form feedback you want to share — about this tool, other tools, the platform overall, or anything else. Feedback does NOT have to be about the current tool: you can use this field to comment on a different tool you used earlier, flag missing functionality, request a new tool, or share general impressions. Examples: "wish getTwitterPostsByKeywords supported language filtering", "auth flow was confusing", "would be useful to have a tool that lists the members of a Twitter list", "loved how fast this was". Captured for product feedback; does not affect tool behavior.
_requestIdNo
confirmCreationYesMust be true. The key is shown once and cannot be retrieved later.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only cover the safety profile (not read-only, not idempotent, not destructive); the description adds two important behaviors beyond that: the key is revocable and the secret is shown only once and cannot be retrieved later. It does not mention any limit on the number of keys or required auth scope, which would round this out.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the alternative, then the return shape. Every sentence carries information an agent needs and nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully enumerates the returned fields (id, name, accessKey, accessKeyPrefix, createdAt) and warns that accessKey is one-time. For a non-idempotent mutation tool, the main remaining gap is the absence of any note about auth requirements or key-count limits.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, so the schema already explains name, confirmCreation, and feedback in detail. The description only indirectly reinforces confirmCreation via the 'shown once' caveat and adds no new parameter syntax or constraints, so it sits at the baseline for high-coverage schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('Create a separate, revocable access key') and scopes it to 'one agent or script', which cleanly distinguishes it from the account-level getUserAccessKey sibling it explicitly names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear selection guidance: use this instead of sharing the primary key from getUserAccessKey. It does not mention when to prefer a different alternative (e.g. listing existing keys first to avoid duplication), but the core when-to-use is explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.