yieldsentinel

v1.0.0
io.github.agentsherpa/yieldsentinel Checked 2 days ago Published 3 months ago

Policy check on a described yield position.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

health Health

Liveness and capability check for yieldsentinel (yieldsentinel.eth). Returns service status, package version, health schemaVersion (separate from the tool-envelope schemaVersion), policyVersion, feature flags, and the list of available tools. toolStats counts all origins. toolStatsExternal is the external bucket. toolStatsInternal is the internal-test bucket. Send header X-YHYS-Test: 1 on every request (initialize, notifications, and each tools/call). On this stateless server that header is the only working internal-test marker. clientInfo.name prefixes yhys-qa / yhys-feel count only for the…

check_position Check position (research policy)

Evaluate a described stablecoin yield position against a research policy (pull). Always pass your policy rules (or a preset). Without a policy, no meaningful check is possible — the verdict will be review/unknown, never ok. Pass poolId from yieldhunter list_yields opportunities[].id (also accepted as opportunityId or id). That id is one market. Required for a real check: policyPreset (treasury-conservative | balanced-research | rwa-selective) and/or minScore / maxRewardShare / excludeCategories / maxExitRisk / requireCurated. Presets: treasury-conservative | balanced-research | rwa-selecti…

ParameterTypeDescription
assetStablecoin symbol, e.g. "USDC".
chainstringethereum | base | arbitrum. Case-insensitive. Also accepts eth, mainnet, arb, arbitrum-one.
excludeCategoriesExclude categories, e.g. ["rwa"].
horizonDaysHolding horizon in days for net-yield context (default 30).
idSame as yieldhunter list_yields opportunities[].id.
maxExitRiskstringCap on yieldhunter exitRisk heuristic: low | medium | high. Unknown or above the cap → review.
maxRewardShareMaximum incentive share of gross APY (0–1).
minNetApyMinimum net APY estimate.
minProtocolScoreMinimum yieldhunter protocol risk score (0–100, higher = safer).
minScoreMinimum compositeRiskAdjusted (0–100).
minTvlUsdMinimum pool TVL in USD.
notionalUsdResearch notional in USD (size hint only). Example: 10000
opportunityIdAlias for poolId / id.
policyPresetstringPolicy preset: "treasury-conservative" | "balanced-research" | "rwa-selective". treasury-conservative excludes RWA; rwa-selective allows RWA but is not a free pass (YS policy allowlist + higher bar).
poolIdyieldhunter list_yields opportunities[].id (DefiLlama pool UUID). Example: "43641cf5-a92e-416b-bce9-27113d3c0db6"
protocolSlugYieldhunter protocol slug. Prefer poolId from list_yields opportunities[].id when the protocol has more than one market.
requireCuratedIf true, the protocol/pool must be on the Yieldsentinel policy allowlist (curated.json), not yieldhunter scoring priors. Missing allowlist entry → review. Scoring ≠ policy approval.
riskAppetitestringconservative | balanced | aggressive (research posture only).