AI, RAG & ML · Improve
Improve LLM Agent Tools
Correct the selected model-to-tool interaction, preserving tool authorization, bounded execution and safe replay of effects.
MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions
← Back to searchUse this workflow
Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.
Operation
Implement the requested change and verify its directly affected behavior.
Goal
Correct the selected model-to-tool interaction, preserving tool authorization, bounded execution and safe replay of effects.
Domain rules
- Put capability and authorization checks in tool/runtime code; treat model intent as untrusted.
- Use typed schemas and stable identities for retryable effects. Retain the authorization/approval required for consequential operations; routine authorized calls do not need new confirmation dialogs.
- Bound steps, parallelism, context, cost, and retries; produce a terminal state for every cancellation or failure.
- Persist only necessary, provenance-bearing, tenant-isolated memory and redact sensitive tool payloads from traces.
Validation
- Run tool-schema/policy tests plus injection, denied approval, duplicate, timeout, cancel, partial-success, and max-step cases.
- Verify side-effect count and persisted run state after interruption/replay.
- List live tool credentials, external approvals, and provider behavior not exercised.
Correct the owning metadata/schema, selection context, runtime policy or continuation rule, then replay the same allowed and denied tasks. A prompt improvement cannot replace call-time authorization or effect deduplication. Verify the returned result and persisted effect after retry/interruption before another model step consumes them. Once the selected interaction passes, run Patch Checking; a failed protocol or replay boundary returns to its specialized owner rather than accumulating prompt prohibitions.
Workflow ID: llm-agent-tools-polish · View the versioned source · Shared workflow and authority rules