Yuan Dian MCP integration for AI agents.
Connect AI agents to Yuan Dian through 23 structured actions, including check legal hallucinations, get case details, and get clause detail. Review authentic…
- ACTION CONTRACTS
- 23
- AUTHENTICATION
- API key
- SOURCE STATUS
- Provider-backed
CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE
CAPABILITY PROFILE
What the Yuan Dian integration exposes
The Yuan Dian Agent App exposes 23 provider-backed actions for ai and data work. Its current contract lets an authorized agent check legal citations in text for yuan dian-detected hallucinations, retrieve yuan dian case details by case id or case number, and retrieve detail for one yuan dian statutory clause. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.
A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.
For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Yuan Dian account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.
VERIFIED ACTION SAMPLE
Real Yuan Dian capabilities.
Showing 12 of 23 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.
check_legal_hallucinationsREADCheck legal citations in text for Yuan Dian-detected hallucinations.
INPUTS: text / requestId
get_case_detailsREADRetrieve Yuan Dian case details by case ID or case number.
INPUTS: caseId / caseNumber / type
get_clause_detailREADRetrieve detail for one Yuan Dian statutory clause.
INPUTS: clauseId / regulationName / clauseNumber / referenceDate
get_enterprise_aggregation_summaryREADRetrieve Yuan Dian enterprise aggregation summary.
INPUTS: enterpriseId / creditCode
get_enterprise_annual_reportREADRetrieve one Yuan Dian enterprise annual report.
INPUTS: enterpriseId / creditCode / year
get_enterprise_base_infoREADRetrieve one Yuan Dian enterprise base information record.
INPUTS: enterpriseId / creditCode
get_enterprise_detailREADRetrieve one Yuan Dian enterprise detail.
INPUTS: enterpriseId / creditCode
get_enterprise_litigation_statisticsREADRetrieve Yuan Dian enterprise litigation statistics.
INPUTS: enterpriseId / creditCode
get_regulation_detailREADRetrieve detail for one Yuan Dian regulation.
INPUTS: regulationId / regulationName / referenceDate
list_enterprise_business_recordsREADList Yuan Dian enterprise business records.
INPUTS: enterpriseId / creditCode / recordType / pageNo
list_enterprise_compliance_recordsREADList Yuan Dian enterprise compliance records.
INPUTS: enterpriseId / creditCode / recordType / pageNo
list_enterprise_court_noticesREADList Yuan Dian enterprise court notices.
INPUTS: enterpriseId / creditCode / noticeType / pageNo
INPUT CONTRACTS
Know what the action needs before it runs.
check_legal_hallucinations
textREQUIRED- The legal text to check for citation hallucinations.
requestIdOPTIONAL- Optional caller-supplied request identifier sent as X-Request-ID.
get_case_details
caseIdOPTIONAL- Yuan Dian case identifier.
caseNumberOPTIONAL- Case number used when no caseId is supplied.
typeOPTIONAL- Case type filter.
get_clause_detail
clauseIdOPTIONAL- Yuan Dian clause identifier.
regulationNameOPTIONAL- Regulation name used when no clauseId is supplied.
clauseNumberOPTIONAL- Clause number or name, such as Article 100.
referenceDateOPTIONAL- Reference date for locating the effective clause version.
get_enterprise_aggregation_summary
enterpriseIdOPTIONAL- Yuan Dian enterprise identifier.
creditCodeOPTIONAL- Unified social credit code.
PROVIDER-SPECIFIC WORKFLOWS
Jobs this Agent App can support
Inspect Check Legal Hallucinations
Check legal citations in text for Yuan Dian-detected hallucinations. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.
check_legal_hallucinationsVerify with Get Case Details
Retrieve Yuan Dian case details by case ID or case number. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.
get_case_detailsSAFETY BOUNDARY
Operate Yuan Dian with explicit limits
- Authorize Yuan Dian with API key and grant only the provider access required by the selected actions.
- The current action names appear read-oriented, but returned Yuan Dian data may still be sensitive and should be minimized before it enters model context.
- Do not infer permission from catalog visibility. Workspace policy, connection identity, and upstream authorization still govern execution.
- No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Yuan Dian rather than assuming unrestricted access.
- After a call, inspect the structured result and execution record before reporting that the Yuan Dian task completed successfully.
CONNECTION MODEL
API key
Yuan Dian Open Platform API key sent with the X-API-Key header. Connection validation calls the low-cost enterprise search endpoint and consumes 1 Yuan Dian point.
Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.
- READ SIGNALS
- 23
- WRITE SIGNALS
- 0
- HIGH IMPACT
- 0
- REVIEW SIGNALS
- 0
EVIDENCE AND AVAILABILITY
Provider reference
Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Yuan Dian.