SELECT t.space_id, t.tool_name, t.description, t.input_schema, s.url as server_url
FROM tools t
JOIN spaces s ON t.space_id = s.space_id