Skip to main content
Glama
AsharFinance

Ashar Exchange MCP Server

Official
by AsharFinance

Delete Tenant Credentials

ashar_delete_tenant_credentials
DestructiveIdempotent

Deletes a tenant’s upstream credentials and falls back to the global credential; use it for admin cleanup of tenant-specific API credentials.

Instructions

Remove the upstream credentials of a tenant (falls back to the global credential). ADMIN operation.

Args:

  • tenant_id (string): the tenant id

Returns { status: 'deleted', count }.

Input Schema

NameRequiredDescriptionDefault
tenant_idYesTenant id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint, idempotentHint and openWorldHint, so safety is covered. The description adds real value by disclosing the post-deletion fallback behavior and the admin permission requirement, though it says nothing about irreversibility or error cases.

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?

Two short sentences plus a compact Args/Returns block, with the core action and the ADMIN warning front-loaded. No wasted prose.

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

Completeness5/5

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

With no output schema, the description supplies the return shape ({ status: 'deleted', count }), the permission level, and the fallback consequence. An agent has everything needed to invoke and interpret the result.

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 coverage is 100% and there is only one parameter, whose meaning (tenant_id) is repeated rather than enriched. Baseline 3 is appropriate since the schema already does the work.

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?

States a specific verb and resource ("Remove the upstream credentials of a tenant") plus an important scope detail (falls back to the global credential) and an ADMIN qualifier. It is clearly distinguishable from siblings like ashar_get_tenant_credentials and ashar_rotate_tenant_credentials.

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

Usage Guidelines4/5

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

Signals the ADMIN gating and explains the resulting state (fallback to global credential), which gives an agent clear context for when this is the right call. It doesn't explicitly contrast against rotate_tenant_credentials or state when not to use it, so not a full 5.

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

Deploy Server

Other Tools