Skip to main content
Glama

Add or change workload identity issuer

stack_set_workload_identity
Destructive

Add or change a workload issuer the account trusts. kind spiffe is a SPIFFE trust domain (trust_domain; mapping keys are spiffe:// ids under it); kind wimse is a WIMSE issuer (issuer_uri; mapping keys are workload URIs). jwks_uri is the issuer's https keys URL. mapping names the agent each workload acts as: whatever the issuer vouches for can obtain Passports for those agents. Without id it adds one; with id it changes only the fields given. Owner or admin only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "stack_set_workload_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoId of the issuer to change, from stack_list_workload_identities; omit to add
kindYesspiffe or wimse
activeNofalse turns the issuer off without removing it
mappingNoWorkload id to { agent_id }
audienceNo
jwks_uriNoThe issuer's https keys URL
issuer_uriNowimse: the issuer, https
display_nameNo
trust_domainNospiffe: the trust domain, for example prod.example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is known; the description adds real value beyond that with the owner/admin authorization requirement, the patch semantics ('changes only the fields given'), and the security consequence that vouched workloads can obtain Passports for mapped agents. It still omits what happens to existing mappings or the issuer when kind changes, and whether a change is reversible, which matters for a destructive tool.

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

Conciseness4/5

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

Front-loaded purpose, then per-kind parameter semantics, then add-vs-change rule, ending with the permission constraint. Dense parenthetical phrasing ('trust_domain; mapping keys are spiffe:// ids under it') costs some readability, but no sentence is filler.

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 9-parameter mutation with a nested mapping object and no output schema, the description covers the essential shape: the two kind variants, their respective required fields, mapping semantics, upsert behavior, and authorization. Gaps are limited to audience, display_name, and kind-change side effects.

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

Parameters4/5

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

At 78% schema coverage the description still contributes meaning the schema does not: it ties kind=spiffe to trust_domain and spiffe:// mapping keys, kind=wimse to issuer_uri and workload-URI mapping keys, and explains that mapping names the agent each workload acts as. audience and display_name remain unexplained in both places, which keeps it below a 5.

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

Purpose4/5

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

States a specific verb and resource: 'Add or change a workload issuer the account trusts', so an agent knows this is an upsert on workload identity issuers rather than account identity or identity settings. It never names the closest sibling (stack_remove_workload_identity / stack_set_account_identity), so differentiation is inferred from the resource wording rather than stated.

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?

'Without id it adds one; with id it changes only the fields given' is an explicit add-vs-update decision rule, and 'Owner or admin only' states the prerequisite. What is missing is any routing to alternatives such as listing issuers or removing one, which the agent must guess from the id parameter's schema note.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.