Skip to main content
Glama
Gyeom

OpenFGA MCP Server

openfga_tuple_write

Create authorization relationship tuples in OpenFGA to define user permissions for specific objects, enabling fine-grained access control across environments.

Instructions

OpenFGA 튜플(권한 관계) 생성

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envYes환경명 (local, int, stage, real)
storeIdNo스토어 ID (생략 시 기본값 사용)
userYes사용자 (예: user:john, company:42dot#member)
relationYes관계 (예: viewer, admin, operator)
objectYes오브젝트 (예: vehicle:car1, policy:policy1)
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the action ('생성/create'). It doesn't disclose behavioral traits such as whether this is a mutation (implied by 'create'), what permissions are required, whether it's idempotent, error handling, or what happens on success. For a write operation with zero annotation coverage, this is a significant gap.

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?

The description is a single, efficient phrase in Korean that directly states the tool's purpose without any wasted words. It's appropriately sized and front-loaded, making it easy to understand at a glance.

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

Completeness2/5

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

Given this is a write operation with no annotations and no output schema, the description is incomplete. It doesn't cover what the tool returns, error conditions, or important behavioral context needed for safe invocation. The schema provides parameter details, but the description lacks crucial operational information.

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 description coverage is 100%, so the schema already documents all 5 parameters with descriptions and examples. The description adds no additional meaning beyond what's in the schema, such as explaining the tuple model (user-relation-object) or how parameters interact. Baseline 3 is appropriate when schema does the heavy lifting.

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

Purpose4/5

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

The description 'OpenFGA 튜플(권한 관계) 생성' clearly states the action (생성/create) and resource (튜플/권한 관계/tuple/permission relationship) in Korean. It distinguishes from siblings like openfga_tuple_read or openfga_tuple_delete by specifying creation, though it doesn't explicitly differentiate from openfga_tuple_batch_write.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It doesn't mention when to choose openfga_tuple_write over openfga_tuple_batch_write for single vs. batch operations, or when to use it in the context of other OpenFGA tools like openfga_check or openfga_expand.

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/Gyeom/openfga-mcp'

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