Skip to main content
Glama

keychain_get_organization

Retrieve organization details from a Bitwarden vault by specifying its unique identifier.

Instructions

Get an organization by id (bw get organization).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The handler and registration for 'keychain_get_organization'. Based on the `toolPrefix` logic, this registers as '{prefix}.get_organization'.
    registerTool(
      `${deps.toolPrefix}.get_organization`,
      {
        title: 'Get Organization',
        description: 'Get an organization by id (bw get organization).',
        annotations: { readOnlyHint: true },
        inputSchema: {
          id: z.string(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        const sdk = await deps.getSdk(extra.authInfo);
        const organization = await sdk.getOrganization(input);
        return {
          structuredContent: { organization },
          content: [{ type: 'text', text: 'OK' }],
        };
      },
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icoretech/warden-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server