Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

createUserPhoto

Attach an existing image file as a user's logo, photo, or cover photo by providing the member ID, image filename, and slot type.

Instructions

Create a user photo - Create a new userphoto record. Writes live data.

Use when: attaching a new photo record to a member. The image file must already exist in site storage (upload via admin or auto_image_import).

Required: user_id, file, type.

Parameter interactions:

  • user_id - the member

  • type - slot: logo, photo, or cover_photo

  • file - image filename (must already exist in site storage)

See also: updateUserPhoto (modify existing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes
fileYesImage filename
typeYes
Behavior3/5

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

Annotations already signal readOnlyHint=false and destructiveHint=false. Description adds 'Writes live data' but no further behavioral details beyond what annotations convey.

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

Conciseness4/5

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

Well-structured with clear sections, front-loaded purpose, and no fluff. Minor redundancy in opening sentence but overall efficient.

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 purpose, usage, prerequisites, parameter details, and alternative. Lacks output info but acceptable without output schema. Sufficient for a create 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 low (33%), but description explains each parameter: user_id as member, type with enum values, and file requirement (must exist in storage), adding significant meaning.

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 clearly states the verb ('Create'), resource ('user photo'), and distinguishes from siblings by specifying 'Create a new userphoto record' and referencing 'updateUserPhoto' for modifications.

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?

Provides explicit when-to-use ('attaching a new photo record to a member'), prerequisite (image must exist in site storage), and replaces 'See also' with alternative tool.

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/brilliantdirectories/brilliant-directories-mcp'

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