Skip to main content
Glama

create_photo

Upload a photo from a local path, add a caption, and attach it to Hudu records like assets or companies.

Instructions

Upload a new Photo. Provide the local file path to the image file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pinnedNo
captionYesCaption for the photo
file_pathYesAbsolute local path to the image file to upload
folder_idNo
company_idNo
photoable_idNoID of the record to attach to
photoable_typeNoType of record to attach to (e.g. Asset, Company, Article)
Behavior2/5

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

With no annotations provided, the description carries the full burden for transparency. It discloses that the tool uploads a photo from a local path, but it does not mention what happens after upload, whether it overwrites existing photos, or any side effects like database record creation. This is insufficient for a mutation tool.

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

Conciseness3/5

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

The description is short and free of redundant wording, but it is not well-structured to guide the user. It would benefit from a more explicit structure that lists key requirements (e.g., caption is required) and optional fields. It is concise but at the expense of needed detail.

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?

For a tool with 7 parameters, 2 required, and no output schema or annotations, the description is far from complete. It only covers file_path and gives no information about the required caption, the return value, or how the photo relates to other resources via photoable fields. The description would need to be substantially expanded to be minimally viable for an agent.

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

Parameters2/5

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

The description mentions 'local file path', which mirrors the schema description for file_path, adding no new meaning. It does not clarify the purpose or syntax for the required 'caption' parameter or the optional but likely important parameters like folder_id, company_id, photoable_id, photoable_type, and pinned. With schema coverage at only 57%, the description fails to compensate for these undocumented parameters.

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 states the core function 'Upload a new Photo' with a clear verb and resource, and it adds the requirement of a local file path. However, it does not explicitly distinguish this from the sibling tool 'create_public_photo', so it lacks full differentiation.

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?

The only guidance is to provide a local file path, which is a prerequisite but not usage context. There is no mention of when to prefer this over alternatives or any exclusions, such as the public photo variant. No when-to-use or when-not-to-use advice is given.

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/Allied-Business-Solutions/hudu-mcp'

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