Skip to main content
Glama
vengtoo

@vengtoo/mcp-server

by vengtoo

create_resource_type

Define a resource type with its valid actions to set up authorization models before creating resources or policies.

Instructions

Create a resource type. Do this before creating resources or policies. The actions list defines what verbs are valid for this type (e.g. ["read", "write", "delete"]). Policies targeting this type use these action names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesResource type name, e.g. "document" or "invoice". Use singular lowercase.
actionsYesActions available on this type, e.g. ["read", "write", "delete", "share"]
descriptionNoOptional description
Behavior3/5

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

No annotations provided, so description carries full behavioral burden. Indicates a creation mutation but omits details like authentication needs or whether it's idempotent. Explains actions semantics, adding moderate transparency.

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 focused sentences with no extraneous text. Purpose is front-loaded, and each sentence adds essential information.

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?

Covers the creation process, prerequisite order, and parameter semantics adequately. Lacks details about return values or errors, but the tool's simplicity and schema mitigate the need.

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). The description adds value by explaining that actions define valid verbs for the type and how policies use them, beyond the schema's parameter descriptions.

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 creation of a resource type and distinguishes from siblings like create_resource by specifying the prerequisite relationship ('Do this before creating resources or policies').

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?

Explicitly advises to create resource types before resources or policies, providing clear sequencing. Does not mention when not to use or alternatives, but the guidance is sufficient for correct invocation.

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/vengtoo/mcp-server'

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