Skip to main content
Glama

uploadContentUrlAboutOrganization

Upload URLs containing organizational information to store content about companies or institutions. Specify user roles for access control.

Instructions

Upload content url about the organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to upload
roleNoThe roles of the user

Implementation Reference

  • The core handler function that performs the URL upload by delegating to rag_service.upload_url and returns a success message.
    def upload_content_url_about_organization(self, url: str, role: str = "") -> list[str]: """ Upload content url about the organization. Args: url: The URL to upload role: The roles of the user Returns: Success message """ self.rag_service.upload_url(url, role, self.user_id_from_environment) return ["URL uploaded successfully"]
  • The MCP tool schema definition including input schema, properties, required fields, and description.
    types.Tool( name="uploadContentUrlAboutOrganization", description="Upload content url about the organization", inputSchema={ "type": "object", "properties": { "url": { "type": "string", "description": "The URL to upload" }, "role": { "type": "string", "description": "The roles of the user" } }, "required": ["url"], "additionalProperties": False } )
  • mcp_server.py:175-183 (registration)
    The dispatch logic in the MCP call_tool handler that validates arguments and invokes the tool handler.
    elif name == "uploadContentUrlAboutOrganization": if "url" not in arguments: raise ValueError("url parameter is required") result = rag_tools.upload_content_url_about_organization( arguments["url"], arguments.get("role", "") ) logger.debug(f"Tool {name} executed successfully") return [types.TextContent(type="text", text=str(result))]

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/yogeshkulkarni553/rag-mcp-py'

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