Skip to main content
Glama

Call any DPF API action (fallback for requests with no dedicated tool)

call_dpf_api
Destructive

Execute any DPF API endpoint by providing its path and action, with optional parameters for additional fields. Use it to access capabilities that have no dedicated tool.

Instructions

Escape hatch for DPF capabilities with no dedicated tool. Every DPF endpoint is POST with a JSON body of { action, ...fields }, authenticated with your OAuth session. Billing mutations (purchase-credits, modify-subscription, manage-payment, create-customer) are not available via MCP — use the DPF web UI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAPI path, e.g. "/auth/billing" (leading slash, no query string).
actionYesThe "action" field this endpoint routes on, e.g. "get-balance".
paramsNoAdditional action-specific fields to merge into the request body.
workspaceIdNoInclude for workspace-scoped actions. Omit for account-level actions.
Behavior3/5

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

Annotations already provide readOnlyHint=false and destructiveHint=true; the description adds OAuth authentication and the uniform POST+JSON body behavior. However, it does not add much context about the destructive nature, failure modes, or response behavior. It does not contradict the annotations.

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

Conciseness5/5

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

Three sentences, front-loaded with the core purpose, and no filler. Every sentence adds either usage guidance or a critical constraint.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a generic fallback tool with no output schema, the description covers the essential mechanics: path/action/params construction, OAuth auth, workspace scoping, and billing exclusions. It could include a concrete example or error-handling note, but the current coverage is strong for its purpose.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds useful framing about the JSON body shape and that params are merged, but it mostly re-states what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states this tool is an escape hatch for calling any DPF API action when no dedicated tool exists. It names the verb+resource (POST to DPF API path) and explicitly differentiates itself from all the sibling dedicated tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says to use this tool when there is no dedicated tool, and gives a clear exclusion: billing mutations are not available via MCP and should go through the DPF web UI. This is strong when/when-not guidance with an alternative.

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/dpf-admin/dpf-claude-plugin'

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