Skip to main content
Glama

chatgpt_add_file_to_project

Add a file to a ChatGPT project's Sources. Upload the file and confirm it appears in Sources so the project can use it.

Instructions

Thêm file vào Project Sources và chỉ thành công khi filename xuất hiện trong Sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
nameNo
projectIdNo
operationIdNo
Install Server

TDQS

C2.7/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It adds one useful behavioral trait: the operation only succeeds when the filename appears in Sources. However, it does not mention side effects, failure behavior, permissions, or whether the file addition is reversible.

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?

The description is a single concise sentence with no filler and the success condition is front-loaded. It is efficient, though the phrasing creates some ambiguity around 'filename' versus the schema's 'file' parameter.

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 mutation tool with four undocumented parameters and no output schema, this description is too sparse. It does not clarify how the parameters relate to each other, how a project is identified, or what a successful or failed response looks like. The success condition adds some context but is insufficient.

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

Parameters1/5

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

Schema description coverage is 0%, and the description provides no meaningful parameter explanations. It refers to an undefined 'filename' rather than mapping to the 'file' parameter, and says nothing about 'name', 'projectId', or 'operationId'. The description does not compensate for the schema's lack of documentation.

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 clearly states the action: adding a file to Project Sources. It names a specific resource and includes a success condition, which helps identify the tool's core purpose. However, it does not differentiate it from related sibling tools like chatgpt_upload_files or explain how it relates to project selection.

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?

There is no guidance on when to use this tool versus alternatives such as chatgpt_upload_files or chatgpt_create_project. The success condition is behavioral rather than a usage directive. No exclusions, prerequisites, or alternative tool mentions are provided.

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

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/dinhthangqt/chatgpt-web-mcp-hermes'

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