Skip to main content
Glama
rawtreedb

RawTree MCP Server

Official
by rawtreedb

Create API Key

create-api-key

Generate a new RawTree API key for programmatic access or credential rotation. Choose from read-only, write-only, read-write, or admin permissions.

Instructions

Purpose: Create a new RawTree API key for the configured project.

NOT for: User login or creating projects. Use RawTree auth/CLI or the dashboard for those workflows.

Returns: The new API key token. The token is only shown once, so you MUST display it to the user.

Auth: Requires admin permission for unscoped project API key auth. When RAWTREE_ORG and RAWTREE_PROJECT are configured, this uses RawTree's scoped route.

When to use:

  • User needs a key for CI, an agent, a connector, or a script

  • User wants a read-only, write-only, read-write, or admin credential

  • User asks to rotate credentials by creating a replacement before revoking the old key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable API key name.
permissionNoPermission level. Prefer read_only for query-only agents and write_only for ingest-only connectors.read_write
Behavior5/5

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

No annotations provided, so description fully covers behavioral aspects: token shown only once (must display to user), auth requirements (admin permission, scoped route based on env vars). No contradictions.

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?

Well-structured with clear headings and bullet points. Every sentence adds necessary information without redundancy. Efficiently communicates purpose, exclusions, and usage context.

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

Completeness5/5

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

Given no output schema, description fully explains return value (token shown once) and critical user instruction. Covers auth, permission options, and when to use. Complete for a two-parameter tool.

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

Parameters4/5

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

Schema coverage is 100%, baseline 3. Description adds value by recommending permission choices: 'Prefer read_only for query-only agents and write_only for ingest-only connectors.'

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?

Clearly states 'Create a new RawTree API key for the configured project' with a specific verb and resource. Distinguishes from sibling tools like delete-api-key and list-api-keys by focusing on creation.

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

Usage Guidelines5/5

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

Explicitly states what the tool is NOT for (user login, creating projects) and provides alternatives (RawTree auth/CLI, dashboard). Lists specific use cases under 'When to use'.

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

Install Server

Other Tools

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/rawtreedb/rawtree-mcp'

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