Skip to main content
Glama

delete_study

Permanently delete a study and all associated data while releasing unused reserved credits.

Instructions

Permanently deletes a study and all associated data. Releases unused reserved credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
study_idYes

Implementation Reference

  • The handler for delete_study tool, which calls the Usercall API with DELETE method.
    async (input) => {
      const payload = await callUsercallApi(
        `/api/v1/agent/studies/${input.study_id}`,
        { method: "DELETE" },
      );
      return result(
        appendNote(
          payload,
          "Study permanently deleted. All recordings and data have been removed. Unused credits have been released.",
        ),
      );
    },
  • Input schema for delete_study, requiring a UUID study_id.
    {
      study_id: z.string().uuid(),
    },
  • src/index.ts:196-198 (registration)
    Registration of the delete_study tool.
    server.tool(
      "delete_study",
      "Permanently deletes a study and all associated data. Releases unused reserved credits.",

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/junetic/mcp-usercall'

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